/*
 * Unseenly — base grafica v1.0
 * Derivata dal tema Freelancer e dallo schema grafico approvato.
 * Bootstrap è caricato localmente.
 */

:root {
    --unseenly-navy: #102d44;
    --unseenly-navy-2: #0b2235;
    --unseenly-teal: #12a893;
    --unseenly-teal-dark: #0e8d7d;
    --unseenly-teal-soft: #eaf8f5;
    --unseenly-bg: #f7f9fb;
    --unseenly-text: #183042;
    --unseenly-muted: #6f7f8c;
    --unseenly-border: #e2e9ee;
    --unseenly-white: #ffffff;
    --unseenly-shadow: 0 10px 30px rgba(16, 45, 68, .08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--unseenly-white);
    color: var(--unseenly-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: var(--unseenly-teal-dark);
}

.unseenly-navbar {
    background: var(--unseenly-navy);
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.unseenly-navbar .navbar-brand {
    letter-spacing: -.02em;
    font-size: 1.16rem;
}

.unseenly-navbar .nav-link {
    color: rgba(255,255,255,.78);
    font-size: .92rem;
}

.unseenly-navbar .nav-link:hover,
.unseenly-navbar .nav-link:focus {
    color: #fff;
}

.btn-brand {
    background: var(--unseenly-teal);
    border-color: var(--unseenly-teal);
    color: #fff;
    font-weight: 600;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--unseenly-teal-dark);
    border-color: var(--unseenly-teal-dark);
    color: #fff;
}

.hero-section {
    padding: 6.5rem 0 5.5rem;
    color: #fff;
    background:
        radial-gradient(circle at 15% 15%, rgba(255,255,255,.11), transparent 31%),
        linear-gradient(135deg, #0c8e82 0%, #13ad99 58%, #0b9f91 100%);
}

.hero-mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.75rem;
    border: 1px solid rgba(255,255,255,.52);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
}

.hero-section h1 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(2.15rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.hero-subtitle {
    max-width: 830px;
    margin-top: 1.6rem;
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: rgba(255,255,255,.9);
}

.hero-primary-cta {
    color: var(--unseenly-teal-dark);
    font-weight: 700;
}

.hero-value {
    margin-top: 2rem;
    font-size: .95rem;
    color: rgba(255,255,255,.82);
}

.content-section {
    padding: 5.5rem 0;
}

.section-soft {
    background: var(--unseenly-bg);
}

.section-heading {
    margin-bottom: 2.6rem;
}

.section-heading h2,
.content-section h2,
.closing-section h2 {
    letter-spacing: -.035em;
    font-weight: 750;
}

.section-lead {
    color: var(--unseenly-muted);
    font-size: 1.08rem;
}

.feature-card,
.example-card {
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 45, 68, .035);
}

.feature-card {
    padding: 2.1rem 1.9rem;
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--unseenly-teal);
    background: var(--unseenly-teal-soft);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3,
.example-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .8rem;
}

.feature-card p,
.example-card p {
    color: var(--unseenly-muted);
    margin-bottom: 0;
}

.example-card {
    position: relative;
    padding: 1.65rem 1.45rem;
}

.example-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: .9rem;
    background: var(--unseenly-teal);
}

.examples-closing {
    margin-top: 2.2rem;
    font-weight: 600;
}

.simple-steps {
    display: grid;
    gap: 1rem;
}

.simple-steps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
}

.simple-steps span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--unseenly-teal-soft);
    color: var(--unseenly-teal-dark);
    font-weight: 800;
}

.messages-section {
    background: var(--unseenly-navy);
    color: #fff;
}

.messages-section p {
    color: rgba(255,255,255,.8);
}

.eyebrow {
    display: inline-block;
    margin-bottom: .7rem;
    color: #77ddce;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.message-preview {
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 14px;
    padding: 2rem;
    background: rgba(255,255,255,.06);
}

.message-preview-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: rgba(18,168,147,.18);
    color: #8ce6d9;
    font-weight: 800;
}

.message-preview-title {
    font-weight: 700;
    font-size: 1.08rem;
}

.message-preview-status {
    margin-top: .9rem;
    color: rgba(255,255,255,.65);
    font-size: .84rem;
}

.beta-section {
    padding: 4rem 0 0;
}

.beta-box {
    padding: 2rem 2.2rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: var(--unseenly-bg);
}

.beta-box h2 {
    font-size: 1.25rem;
    margin-bottom: .7rem;
}

.beta-box p {
    color: var(--unseenly-muted);
}

.closing-section {
    padding: 5rem 0;
}

.unseenly-footer {
    color: rgba(255,255,255,.72);
    background: var(--unseenly-navy);
}

.footer-brand {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: .55rem;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: .65rem;
}

.footer-links li + li {
    margin-top: .35rem;
}

.footer-links a {
    color: rgba(255,255,255,.72);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.unseenly-copyright {
    border-top: 1px solid rgba(255,255,255,.08);
    background: var(--unseenly-navy-2);
}

.placeholder-page {
    min-height: 62vh;
    padding: 5rem 0;
    background: var(--unseenly-bg);
}

.placeholder-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--unseenly-shadow);
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4.8rem 0 4rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .feature-card,
    .example-card {
        padding: 1.5rem;
    }

    .beta-box {
        padding: 1.5rem;
    }
}

/* Blocco 2 — registrazione, accesso e credenziali */
.auth-page{min-height:70vh;padding:4.5rem 0;background:radial-gradient(circle at top left,rgba(18,168,147,.06),transparent 30%),var(--unseenly-bg)}
.auth-card{width:min(100%,560px);margin:0 auto;padding:2.3rem;border:1px solid var(--unseenly-border);border-radius:14px;background:#fff;box-shadow:var(--unseenly-shadow)}
.auth-card h1{font-size:clamp(1.7rem,4vw,2.2rem);letter-spacing:-.035em;text-align:center;margin-bottom:.55rem}.auth-subtitle{color:var(--unseenly-muted);text-align:center;margin-bottom:1.7rem}.auth-icon{width:58px;height:58px;margin:0 auto 1rem;display:grid;place-items:center;border-radius:50%;background:var(--unseenly-teal-soft);color:var(--unseenly-teal-dark);font-size:1.45rem;font-weight:800}.auth-bottom{padding-top:1.4rem;text-align:center;font-size:.95rem}.auth-bottom a{text-decoration:none}.local-dev-note{margin-top:1.2rem;padding:1rem;border-radius:10px;background:#f4f7f9;color:var(--unseenly-muted);font-size:.9rem;text-align:left}.account-summary{display:flex;justify-content:space-between;gap:1.2rem;align-items:center;padding:1rem 1.1rem;border:1px solid var(--unseenly-border);border-radius:10px;background:var(--unseenly-bg)}.account-summary span,.account-summary strong{display:block}.account-summary span{color:var(--unseenly-muted);font-size:.82rem}.space-placeholder{min-height:70vh;padding:4rem 0 5rem;background:var(--unseenly-bg)}.space-welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.space-welcome h1{letter-spacing:-.04em}.space-welcome p{color:var(--unseenly-muted)}.eyebrow-light{display:inline-block;margin-bottom:.4rem;color:var(--unseenly-teal-dark);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.space-user-email{padding:.55rem .8rem;border:1px solid var(--unseenly-border);border-radius:999px;background:#fff;color:var(--unseenly-muted);font-size:.86rem}.space-card{padding:1.5rem;border:1px solid var(--unseenly-border);border-radius:12px;background:#fff;box-shadow:0 5px 15px rgba(16,45,68,.03)}.space-card h2{font-size:1.05rem;font-weight:750}.space-card p{color:var(--unseenly-muted)}.space-card-soon{color:var(--unseenly-teal-dark);font-size:.78rem;font-weight:700}@media(max-width:767.98px){.auth-page{padding:2.5rem 0}.auth-card{padding:1.5rem}.account-summary,.space-welcome{align-items:stretch;flex-direction:column}}
\n/* Blocco 2.1 */\n.space-count{display:inline-block;margin-right:.12rem;color:var(--unseenly-teal-dark);font-size:1.25em;font-weight:800}.profile-grid{display:grid;gap:.8rem}.profile-row{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;padding:.9rem 1rem;border:1px solid var(--unseenly-border);border-radius:10px;background:var(--unseenly-bg)}.profile-row span{color:var(--unseenly-muted)}@media(max-width:575.98px){.profile-row{align-items:flex-start;flex-direction:column}}\n

/* Unseenly2 — marchio con motto sotto al logo */
.unseenly-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    text-decoration: none;
}

.unseenly-brand-name {
    display: block;
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.unseenly-brand-tagline {
    display: block;
    margin-top: .18rem;
    max-width: 360px;
    color: rgba(255,255,255,.64);
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: normal;
}

@media (max-width: 767.98px) {
    .unseenly-brand-tagline {
        max-width: 220px;
        font-size: .62rem;
    }
}


/* Unseenly3 — testata più leggibile */
.unseenly-navbar {
    min-height: 76px;
}

.unseenly-navbar .container {
    align-items: center;
}

.unseenly-brand-name {
    font-size: 1.45rem;
    line-height: 1.05;
}

.unseenly-brand-tagline {
    margin-top: .28rem;
    max-width: 520px;
    font-size: .84rem;
    line-height: 1.3;
    color: rgba(255,255,255,.78);
}

.unseenly-navbar .nav-link {
    font-size: .94rem;
    font-weight: 600;
}

.unseenly-navbar .btn {
    font-size: .96rem;
}

@media (max-width: 767.98px) {
    .unseenly-navbar {
        min-height: 68px;
    }

    .unseenly-brand-name {
        font-size: 1.28rem;
    }

    .unseenly-brand-tagline {
        max-width: 280px;
        font-size: .72rem;
    }
}


/* Unseenly4 — testata: motto alla dimensione del sottotitolo principale */
.unseenly-navbar {
    min-height: 92px;
}

.unseenly-brand-name {
    font-size: 1.48rem;
    font-weight: 500;
    line-height: 1.05;
}

.unseenly-brand-tagline {
    margin-top: .35rem;
    max-width: 680px;
    font-size: .94rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(255,255,255,.84);
}

@media (max-width: 991.98px) {
    .unseenly-brand-tagline {
        max-width: 500px;
        font-size: .92rem;
    }
}

@media (max-width: 575.98px) {
    .unseenly-navbar {
        min-height: 82px;
    }

    .unseenly-brand-name {
        font-size: 1.3rem;
    }

    .unseenly-brand-tagline {
        max-width: 250px;
        font-size: .76rem;
        line-height: 1.25;
    }
}

/* FAQ */
.faq-page {
    padding: 4.5rem 0 5.5rem;
    background: var(--unseenly-bg);
}

.faq-shell {
    max-width: 980px;
    margin: 0 auto;
}

.faq-intro {
    margin-bottom: 2.5rem;
}

.faq-intro h1 {
    letter-spacing: -.04em;
}

.faq-intro p {
    color: var(--unseenly-muted);
    max-width: 760px;
}

.faq-section + .faq-section {
    margin-top: 2.4rem;
}

.faq-section-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.faq-item {
    border: 1px solid var(--unseenly-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.faq-item + .faq-item {
    margin-top: .75rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.15rem;
    font-weight: 700;
    color: var(--unseenly-text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--unseenly-teal-dark);
    font-size: 1.25rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 1.15rem 1.1rem;
    color: var(--unseenly-muted);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Unseenly8 — quattro tipi di contenuto
   ========================================================= */

.space-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.space-card-link:hover,
.space-card-link:focus {
    color: inherit;
    border-color: rgba(18,168,147,.45);
    transform: translateY(-2px);
}

.records-page {
    min-height: 70vh;
    padding: 4rem 0 5rem;
    background: var(--unseenly-bg);
}

.records-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.records-heading h1 {
    margin-bottom: .35rem;
    letter-spacing: -.04em;
}

.records-heading p {
    margin-bottom: .45rem;
    color: var(--unseenly-muted);
}

.records-value,
.form-value {
    color: var(--unseenly-teal-dark);
    font-size: .92rem;
    font-weight: 600;
}

.records-list {
    display: grid;
    gap: 1rem;
}

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

.record-card {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.4rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fff;
}

.record-card-main {
    min-width: 0;
    flex: 1;
}

.record-card h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.record-title-row {
    display: flex;
    gap: .8rem;
    align-items: center;
    flex-wrap: wrap;
}

.record-pin {
    padding: .18rem .5rem;
    border-radius: 999px;
    background: var(--unseenly-teal-soft);
    color: var(--unseenly-teal-dark);
    font-size: .73rem;
    font-weight: 700;
}

.record-url {
    margin-top: .35rem;
    color: var(--unseenly-muted);
    overflow-wrap: anywhere;
}

.record-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .8rem;
}

.record-tags span {
    padding: .2rem .5rem;
    border-radius: 999px;
    background: #f0f4f6;
    color: var(--unseenly-muted);
    font-size: .75rem;
}

.record-notes {
    margin: .85rem 0 0;
    color: var(--unseenly-muted);
}

.record-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .45rem;
    max-width: 460px;
}

.record-actions form {
    margin: 0;
}

.record-contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: .8rem;
}

.record-contact-grid div span,
.record-contact-grid div strong {
    display: block;
}

.record-contact-grid div span {
    color: var(--unseenly-muted);
    font-size: .75rem;
}

.record-extra {
    margin-top: .8rem;
    color: var(--unseenly-muted);
}

.record-extra > strong {
    display: block;
    color: var(--unseenly-text);
    margin-bottom: .2rem;
}

.records-empty {
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fff;
}

.records-empty h2 {
    font-size: 1.25rem;
}

.records-empty p {
    color: var(--unseenly-muted);
}

.record-form-page {
    min-height: 70vh;
    padding: 4rem 0 5rem;
    background: var(--unseenly-bg);
}

.record-form-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--unseenly-shadow);
}

.record-form-card h1 {
    letter-spacing: -.04em;
}

.repeatable-row {
    display: grid;
    grid-template-columns: minmax(130px, .65fr) minmax(0, 1.6fr) auto;
    gap: .5rem;
    margin-bottom: .55rem;
}

/* Il modello nascosto segue il titolo del gruppo: la lista deve comunque
   interrompere il flottante applicato ai titoli da Bootstrap. */
[data-repeatable-list] {
    clear: both;
    width: 100%;
}

@media (max-width: 991.98px) {
    .records-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .record-card {
        flex-direction: column;
    }

    .record-actions {
        justify-content: flex-start;
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .records-heading {
        flex-direction: column;
    }

    .records-grid {
        grid-template-columns: 1fr;
    }

    .repeatable-row {
        grid-template-columns: 1fr;
    }

    .record-form-card {
        padding: 1.35rem;
    }
}


/* Unseenly15 — le Note usano lo stesso impaginato a tutta larghezza delle altre sezioni */
.records-list .record-card {
    width: 100%;
}


/* Unseenly16 — frase editoriale di chiusura delle sezioni */
.records-closing-value {
    margin-top: 2.6rem;
    padding: .4rem 0 .2rem;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--unseenly-teal-dark);
    text-align: left;
    letter-spacing: -.02em;
}

@media (max-width: 767.98px) {
    .records-closing-value {
        margin-top: 2rem;
        font-size: 1.18rem;
    }
}


/* Unseenly17 — azioni rapide nelle sezioni private */
.records-heading-actions {
    display: flex;
    gap: .65rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .records-heading-actions {
        width: 100%;
        justify-content: flex-start;
    }
}


/* Unseenly18 — menu mobile chiaro su testata scura */
@media (max-width: 991.98px) {
    .unseenly-navbar .navbar-collapse {
        margin-top: .75rem;
        padding: .85rem;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 10px 28px rgba(0,0,0,.16);
    }

    .unseenly-navbar .navbar-collapse .nav-link {
        color: var(--unseenly-text);
        font-weight: 600;
        padding: .7rem .8rem;
        border-radius: 8px;
    }

    .unseenly-navbar .navbar-collapse .nav-link:hover,
    .unseenly-navbar .navbar-collapse .nav-link:focus {
        color: var(--unseenly-teal-dark);
        background: var(--unseenly-teal-soft);
    }

    .unseenly-navbar .navbar-collapse .btn-outline-light {
        color: var(--unseenly-navy);
        border-color: var(--unseenly-border);
        background: #ffffff;
    }

    .unseenly-navbar .navbar-collapse .btn-outline-light:hover,
    .unseenly-navbar .navbar-collapse .btn-outline-light:focus {
        color: var(--unseenly-navy);
        border-color: var(--unseenly-teal);
        background: var(--unseenly-teal-soft);
    }

    .unseenly-navbar .navbar-collapse .btn-brand {
        color: #ffffff;
    }

    .unseenly-brand {
        justify-content: center;
    }

    .unseenly-navbar {
        min-height: 72px;
    }
}


/* Unseenly19 — gerarchia hero e logo */
.unseenly-brand-name {
    font-size: clamp(1.7rem, 2.2vw, 2.05rem);
    line-height: 1;
}

.hero-actions {
    margin-top: 1.65rem;
    margin-bottom: 1.65rem;
}

.hero-copy {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .unseenly-brand-name {
        font-size: 1.65rem;
    }

    .hero-actions {
        margin-top: 1.35rem;
        margin-bottom: 1.35rem;
    }
}


/* ============================================================
   Unseenly20 — rifinitura home
   ============================================================ */

/* Marchio più presente, senza motto sotto */
.unseenly-brand-name {
    font-size: clamp(2rem, 2.55vw, 2.35rem);
    font-weight: 650;
    letter-spacing: -.045em;
    line-height: 1;
}

/* Hero: gerarchia titolo > azioni > spiegazione */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 6.35rem 0 4.7rem;
    isolation: isolate;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255,255,255,.055);
}

.hero-section::before {
    width: 520px;
    height: 520px;
    left: -250px;
    top: -260px;
}

.hero-section::after {
    width: 720px;
    height: 420px;
    right: -270px;
    bottom: -300px;
    transform: rotate(-12deg);
}

.hero-mark {
    width: 76px;
    height: 76px;
    margin-bottom: 1.9rem;
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.025);
}

.hero-mark svg {
    width: 43px;
    height: 43px;
}

.hero-section h1 {
    max-width: 980px;
    font-size: clamp(2.55rem, 5.25vw, 4.45rem);
    line-height: 1.03;
    font-weight: 720;
    letter-spacing: -.052em;
}

.hero-actions {
    margin-top: 2.15rem;
    margin-bottom: 1.95rem;
}

.hero-actions .btn {
    min-width: 0;
    padding: .82rem 1.4rem;
    border-radius: 8px;
    font-size: 1.05rem;
}

.hero-primary-cta {
    min-width: 220px !important;
    box-shadow: 0 6px 16px rgba(13, 67, 62, .10);
}

.hero-secondary-cta {
    min-width: 112px !important;
    border-color: rgba(255,255,255,.78);
}

.hero-copy {
    max-width: 900px;
    color: rgba(255,255,255,.92);
    font-size: clamp(.96rem, 1.45vw, 1.08rem);
    line-height: 1.55;
}

.hero-copy-main,
.hero-copy-secondary {
    text-wrap: balance;
}

.hero-copy-secondary {
    margin-top: .38rem !important;
    color: rgba(255,255,255,.86);
}

/* Sezione tre caratteristiche: più aria, bordi più delicati, icone coerenti */
.content-section#come-funziona {
    padding-top: 5rem;
    padding-bottom: 5.35rem;
}

#come-funziona .section-heading {
    margin-bottom: 2.85rem;
}

#come-funziona .section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.feature-card {
    padding: 2.55rem 2rem 2.35rem;
    border-color: #e5ecef;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(16,45,68,.035);
}

.feature-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1.45rem;
    background: #e9f8f5;
}

.feature-icon svg {
    width: 29px;
    height: 29px;
    stroke-width: 1.7;
}

.feature-card h3 {
    margin-bottom: .75rem;
    font-size: 1.08rem;
    line-height: 1.3;
}

.feature-card p {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

/* Menu mobile chiaro: mantiene la testata scura */
@media (max-width: 991.98px) {
    .unseenly-brand-name {
        font-size: 1.85rem;
    }

    .hero-section {
        padding-top: 4.8rem;
    }

    .hero-section h1 {
        font-size: clamp(2.25rem, 8vw, 3.6rem);
    }
}

@media (max-width: 575.98px) {
    .unseenly-brand-name {
        font-size: 1.65rem;
    }

    .hero-section {
        padding: 4rem 0 3.9rem;
    }

    .hero-mark {
        width: 66px;
        height: 66px;
        margin-bottom: 1.45rem;
    }

    .hero-mark svg {
        width: 37px;
        height: 37px;
    }

    .hero-actions {
        margin-top: 1.65rem;
        margin-bottom: 1.55rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-copy {
        font-size: .96rem;
    }

    .hero-copy-secondary {
        margin-top: .65rem !important;
    }

    .feature-card {
        padding: 2.15rem 1.6rem;
    }
}


/* Unseenly21 — frase editoriale finale più discreta */
.records-closing-value {
    font-size: clamp(1.1rem, 1.6vw, 1.42rem);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .records-closing-value {
        font-size: 1.08rem;
    }
}


/* Unseenly23 — frase editoriale finale più leggera */
.records-closing-value {
    font-weight: 500;
}


/* ============================================================
   Unseenly25 — home: gerarchia e spaziature hero
   ============================================================ */
.hero-section h1 {
    margin-bottom: 0;
}

.hero-copy {
    max-width: 940px;
    margin-top: 1.65rem;
    font-size: clamp(1.05rem, 1.55vw, 1.18rem);
    line-height: 1.55;
}

.hero-copy-main,
.hero-copy-secondary {
    margin: 0;
}

.hero-copy-secondary {
    margin-top: .48rem;
    color: rgba(255,255,255,.94);
}

.hero-copy-secondary strong {
    font-weight: 700;
}

.hero-actions {
    margin-top: 1.85rem;
    margin-bottom: 1.85rem;
}

.hero-faq-link {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin-top: 1.25rem;
    padding-bottom: .18rem;
    color: rgba(255,255,255,.96);
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.72);
}

.hero-faq-link:hover,
.hero-faq-link:focus {
    color: #fff;
    border-bottom-color: #fff;
}

.hero-faq-link span {
    font-size: 1.15em;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .hero-copy {
        margin-top: 1.35rem;
        font-size: .94rem;
        line-height: 1.5;
    }

    .hero-copy-secondary {
        margin-top: .62rem;
    }

    .hero-actions {
        margin-top: 1.55rem;
    }

    .hero-faq-link {
        margin-top: 1.15rem;
        font-size: .98rem;
    }
}


/* Unseenly26 — chiusura del blocco "Per esempio" */
.examples-closing,
.example-closing,
.examples-section .section-closing,
#per-esempio .section-closing {
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    line-height: 1.4;
}

.examples-real-link-wrap {
    margin-top: .7rem;
}

.examples-real-link {
    color: var(--unseenly-teal-dark);
    font-size: 1.12rem;
    font-weight: 650;
    text-decoration: none;
}

.examples-real-link:hover,
.examples-real-link:focus {
    text-decoration: underline;
    text-underline-offset: .18em;
}

/* Il collegamento nella fascia messaggi deve restare chiaramente riconoscibile sul fondo scuro. */
.messages-section .examples-real-link {
    color: #6cddd0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}


/* ============================================================
   Unseenly27 — ricerca, filtri e ordinamenti
   ============================================================ */
.records-controls {
    margin: -0.35rem 0 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fff;
}

.records-controls-form {
    display: grid;
    grid-template-columns: minmax(135px, .8fr) minmax(220px, 1.35fr) minmax(150px, .9fr) auto;
    gap: .8rem;
    align-items: end;
}

.records-control label {
    display: block;
    margin-bottom: .3rem;
    color: var(--unseenly-muted);
    font-size: .78rem;
    font-weight: 700;
}

.records-controls-buttons {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.records-keyword-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    margin-top: .85rem;
}

.records-keyword-shortcuts > span {
    margin-right: .15rem;
    color: var(--unseenly-muted);
    font-size: .78rem;
}

.records-keyword-shortcuts form,
.record-tag-form {
    margin: 0;
}

.record-tags .record-tag-form {
    display: inline-flex;
}

.record-tag-button {
    appearance: none;
    border: 0;
    padding: .2rem .5rem;
    border-radius: 999px;
    background: #f0f4f6;
    color: var(--unseenly-muted);
    font: inherit;
    font-size: .75rem;
    line-height: 1.4;
    cursor: pointer;
}

.record-tag-button:hover,
.record-tag-button:focus,
.record-tag-button.active {
    background: var(--unseenly-teal-soft);
    color: var(--unseenly-teal-dark);
    outline: none;
}

@media (max-width: 991.98px) {
    .records-controls-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .records-controls-buttons {
        align-self: end;
    }
}

@media (max-width: 575.98px) {
    .records-controls-form {
        grid-template-columns: 1fr;
    }

    .records-controls-buttons,
    .records-controls-buttons .btn {
        width: 100%;
    }

    }


/* ============================================================
   Unseenly29 — Salvataggio rapido
   ============================================================ */
.quick-save-page {
    padding: 3rem 0 5rem;
}

.quick-save-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.quick-save-heading h1 {
    margin-bottom: .45rem;
}

.quick-save-heading p {
    margin: 0;
    color: var(--unseenly-muted);
}

.quick-save-card {
    max-width: 860px;
    padding: 2rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,45,68,.04);
}

.quick-save-card h2 {
    margin-bottom: 1.35rem;
    font-size: 1.25rem;
}

.quick-save-bookmarklet-wrap {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px dashed #aebfc7;
    border-radius: 12px;
    background: #f8fbfc;
    text-align: center;
}

.quick-save-bookmarklet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .78rem 1.2rem;
    border-radius: 8px;
    background: var(--unseenly-teal);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    cursor: grab;
    box-shadow: 0 4px 12px rgba(18,116,105,.15);
}

.quick-save-bookmarklet:active {
    cursor: grabbing;
}

.quick-save-steps {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding-left: 1.35rem;
}

.quick-save-steps li {
    padding-left: .25rem;
}

.quick-save-steps strong,
.quick-save-steps span {
    display: block;
}

.quick-save-steps span {
    margin-top: .2rem;
    color: var(--unseenly-muted);
}

.quick-save-note {
    margin-top: 1.6rem;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    background: var(--unseenly-teal-soft);
    color: var(--unseenly-text);
}

.quick-save-window {
    min-height: 100vh;
    padding: 1.5rem 0;
    background: #f3f7f8;
}

.quick-save-window-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.6rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16,45,68,.08);
}

.quick-save-window-brand {
    margin-bottom: 1.35rem;
    color: var(--unseenly-navy);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.035em;
}

.quick-save-window h1 {
    font-size: 1.55rem;
}

.quick-save-window-intro {
    margin-bottom: 1.35rem;
    color: var(--unseenly-muted);
}

.quick-save-success {
    text-align: center;
}

.quick-save-success-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--unseenly-teal-soft);
    color: var(--unseenly-teal-dark);
    font-size: 1.5rem;
    font-weight: 800;
}

.quick-save-success p {
    color: var(--unseenly-muted);
}

@media (max-width: 767.98px) {
    .quick-save-heading {
        flex-direction: column;
    }

    .quick-save-card {
        padding: 1.4rem;
    }
}


/* Unseenly30 — chiarimento facoltatività Salvataggio rapido */
.quick-save-optional-note {
    margin: 0 0 1.35rem;
    padding: .9rem 1rem;
    border-left: 3px solid var(--unseenly-teal);
    border-radius: 8px;
    background: #f7fbfa;
    color: var(--unseenly-text);
    line-height: 1.55;
}


/* ============================================================
   Unseenly32 — utilizzo Beta e soglia informativa
   ============================================================ */
.beta-usage {
    margin-top: 1.7rem;
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fff;
}

.beta-usage-copy {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: .72rem;
}

.beta-usage-copy strong {
    font-size: .98rem;
    font-weight: 650;
    color: var(--unseenly-text);
}

.beta-usage-copy span {
    flex: 0 0 auto;
    color: var(--unseenly-muted);
    font-size: .86rem;
    font-weight: 650;
}

.beta-progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef0;
}

.beta-progress-bar {
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    background: var(--unseenly-teal);
    transition: width .25s ease;
}

.beta-milestone {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #b9ddd7;
    border-left: 4px solid var(--unseenly-teal);
    border-radius: 12px;
    background: #eef9f7;
    box-shadow: 0 8px 22px rgba(16,45,68,.055);
}

.beta-milestone-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d8f1ec;
    color: var(--unseenly-teal-dark);
    font-size: 1.15rem;
}

.beta-milestone strong {
    display: block;
    margin-bottom: .15rem;
    color: var(--unseenly-text);
    font-size: 1.05rem;
    font-weight: 750;
}

.beta-milestone p {
    margin: 0;
    color: var(--unseenly-text);
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .beta-usage-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .beta-milestone {
        align-items: flex-start;
    }
}


/* ============================================================
   Unseenly44 — riquadro eliminazione più visibile
   ============================================================ */
.delete-undo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: .95rem 1rem;
    border: 1px solid #e4bcc3;
    border-radius: 11px;
    background: #fff1f3;
    box-shadow: 0 10px 24px rgba(110, 28, 46, .08);
}

.delete-undo > div {
    min-width: 0;
}

.delete-undo strong {
    margin-right: .35rem;
    color: var(--unseenly-text);
    font-weight: 700;
}

.delete-undo span {
    color: var(--unseenly-muted);
}

.delete-undo form {
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 575.98px) {
    .delete-undo {
        align-items: flex-start;
        flex-direction: column;
    }

    .delete-undo form,
    .delete-undo .btn {
        width: 100%;
    }
}


/* Unseenly34 — conto alla rovescia per Annulla */
.delete-undo-countdown {
    display: inline;
    margin: 0 .1rem;
    font-variant-numeric: tabular-nums;
}

.delete-undo-expired {
    opacity: .72;
}


/* ============================================================
   Unseenly35 — cancellazione completa dello spazio
   ============================================================ */
.account-delete-entry {
    margin-top: 1rem;
    padding: 1.05rem 1.1rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fafcfc;
}

.account-delete-entry p {
    color: var(--unseenly-muted);
}

.account-delete-warning {
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.05rem;
    border: 1px solid #cdd8dd;
    border-left: 4px solid #657780;
    border-radius: 10px;
    background: #f7f9fa;
}

.account-delete-warning strong {
    display: block;
    margin-bottom: .45rem;
    font-size: 1.03rem;
}

.account-delete-warning p {
    margin: .35rem 0 0;
    line-height: 1.5;
}

.btn-account-delete {
    border: 1px solid #53656e;
    background: #53656e;
    color: #fff;
    font-weight: 700;
}

.btn-account-delete:hover,
.btn-account-delete:focus {
    border-color: #3f5058;
    background: #3f5058;
    color: #fff;
}

.space-deleted-notice {
    padding: .95rem 1rem;
    border: 1px solid #cfdcdf;
    border-radius: 10px;
    background: #f5f9f9;
    color: var(--unseenly-text);
    font-weight: 600;
}


/* ============================================================
   Unseenly38 — amministrazione minimale
   ============================================================ */
.admin-summary {
    display: inline-flex;
    align-items: baseline;
    gap: .45rem;
    padding: .7rem .9rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 10px;
    background: #fafcfc;
}

.admin-summary strong { font-size: 1.3rem; }

.admin-summary span,
.admin-privacy-note,
.admin-entry p {
    color: var(--unseenly-muted);
}

.admin-table th {
    white-space: nowrap;
    font-size: .84rem;
}

.admin-entry {
    padding: 1.05rem 1.1rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fafcfc;
}


/* ============================================================
   Unseenly40 — rifinitura pacchetto italiano, accessibilità e telefono
   ============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(22, 120, 126, .38);
    outline-offset: 3px;
}

.profile-row strong,
.space-user-email,
.record-url,
.record-contact-grid strong {
    overflow-wrap: anywhere;
    word-break: normal;
}

.faq-item summary {
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .auth-page {
        padding-left: .25rem;
        padding-right: .25rem;
    }

    .auth-card,
    .record-form-card,
    .quick-save-card {
        padding: 1.25rem;
    }

    .records-heading-actions .btn,
    .record-actions .btn,
    .record-actions form {
        width: 100%;
    }

    .record-actions form .btn {
        width: 100%;
    }

    .space-user-email {
        max-width: 100%;
    }

    .faq-shell {
        padding-left: .1rem;
        padding-right: .1rem;
    }
}


/* ============================================================
   Unseenly47 — fascia messaggi più ampia e leggibile
   ============================================================ */
.flash-band {
    background: #f1f4f7;
    border-bottom: 1px solid rgba(16, 36, 54, .06);
}

.flash-band-inner {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.flash-band .alert:last-child,
.flash-band .delete-undo:last-child,
.flash-band .beta-milestone:last-child {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .flash-band-inner {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* ============================================================
   Unseenly48 — Messaggi ad autodistruzione
   ============================================================ */
.ephemeral-dashboard-card {
    margin-top: 1.6rem;
    padding: 1.35rem 1.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 14px;
    background: var(--unseenly-white);
    box-shadow: var(--unseenly-shadow);
}


.ephemeral-dashboard-title {
    margin: 0 0 .55rem;
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.3;
    color: var(--unseenly-text);
}

.ephemeral-dashboard-card p {
    margin: 0;
    color: var(--unseenly-muted);
}

.ephemeral-dashboard-actions {
    flex: 0 0 auto;
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ephemeral-principles,
.ephemeral-create-card,
.ephemeral-created {
    border: 1px solid var(--unseenly-border);
    border-radius: 14px;
    background: var(--unseenly-white);
    box-shadow: var(--unseenly-shadow);
}

.ephemeral-principles {
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
}

.ephemeral-principles strong {
    display: block;
    margin-bottom: .25rem;
}

.ephemeral-principles p,
.ephemeral-receipt-note {
    color: var(--unseenly-muted);
}

.ephemeral-principles p {
    margin: 0;
}

.ephemeral-receipt-note {
    margin: 0 0 1.35rem;
    font-size: .92rem;
}

.ephemeral-receipt-card .record-title-row {
    align-items: center;
}

.ephemeral-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .2rem .6rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.ephemeral-status-unread {
    border-color: #d8a927;
    background: #f4d06a;
    color: #4c3900;
    box-shadow: 0 2px 8px rgba(126, 91, 0, .12);
}

.ephemeral-status-opened {
    border-color: #5849a8;
    background: #6657b8;
    color: #fff;
    box-shadow: 0 2px 8px rgba(54, 43, 118, .16);
}

.ephemeral-status-expired {
    background: #f2f4f6;
    color: #5f6e79;
}

.ephemeral-meta-grid {
    margin-top: .75rem;
}

.ephemeral-create-card,
.ephemeral-created {
    padding: 1.45rem;
}

.ephemeral-create-intro {
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--unseenly-border);
}

.ephemeral-create-intro strong {
    display: block;
    margin-bottom: .2rem;
}

.ephemeral-create-intro p {
    margin: 0;
    color: var(--unseenly-muted);
}

.ephemeral-secret-choice {
    margin: 0;
    padding: 0;
    border: 0;
}

.ephemeral-separate-note,
.ephemeral-created-warning,
.ephemeral-once-note,
.ephemeral-public-rule {
    border-radius: 11px;
    background: var(--unseenly-teal-soft);
}

.ephemeral-separate-note {
    padding: .95rem 1rem;
}

.ephemeral-separate-note strong,
.ephemeral-created-warning strong,
.ephemeral-public-rule strong {
    display: block;
    margin-bottom: .18rem;
}

.ephemeral-separate-note p {
    margin: 0;
    color: var(--unseenly-muted);
}

.ephemeral-created-heading h2 {
    margin: .2rem 0 .25rem;
}

.ephemeral-created-heading p {
    margin: 0;
    color: var(--unseenly-muted);
}

.ephemeral-created-warning {
    margin: 1.25rem 0;
    padding: .95rem 1rem;
}

.ephemeral-created-warning span,
.ephemeral-public-rule span {
    color: var(--unseenly-muted);
}

.ephemeral-created-list {
    display: grid;
    gap: 1rem;
}

.ephemeral-created-card {
    padding: 1rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 11px;
    background: #fbfcfd;
}

.ephemeral-created-card-title {
    margin-bottom: .85rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.ephemeral-created-card-title span {
    color: var(--unseenly-muted);
    font-size: .84rem;
}

.ephemeral-once-note {
    margin-top: 1.15rem;
    padding: .85rem 1rem;
    color: var(--unseenly-muted);
    font-size: .84rem;
}

/* Pagina pubblica di lettura: nessuna risorsa di terze parti. */
.ephemeral-public-body {
    min-height: 100vh;
    background: var(--unseenly-bg);
}

.ephemeral-public-header {
    padding: 1.05rem 0;
    background: var(--unseenly-navy);
}

.ephemeral-public-brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: .94rem;
    font-weight: 750;
    letter-spacing: -.03em;
    text-decoration: none;
}

.ephemeral-public-brand:hover,
.ephemeral-public-brand:focus {
    color: #fff;
}

.ephemeral-public-main {
    padding: 4rem 0;
}

.ephemeral-public-card {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 2.2rem);
    border: 1px solid var(--unseenly-border);
    border-radius: 16px;
    background: var(--unseenly-white);
    box-shadow: var(--unseenly-shadow);
}

.ephemeral-public-card h1 {
    margin: .25rem 0 .6rem;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -.035em;
}

.ephemeral-public-lead {
    margin-bottom: 1.35rem;
    color: var(--unseenly-muted);
    font-size: 1.02rem;
}

.ephemeral-public-points {
    margin: 0 0 1.4rem;
    padding: 1rem 1.05rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 11px;
    background: #fbfcfd;
}

.ephemeral-public-points p {
    margin: 0 0 .35rem;
}

.ephemeral-public-points p:last-child {
    margin-bottom: 0;
}

.ephemeral-public-form {
    margin-top: 1.25rem;
}

.ephemeral-public-rule {
    margin-top: 1.25rem;
    padding: .9rem 1rem;
}

.ephemeral-read-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--unseenly-teal-soft);
    color: var(--unseenly-teal-dark);
    font-weight: 800;
    font-size: 1.2rem;
}

.ephemeral-message-content {
    margin: 1.45rem 0;
    padding: 1.25rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #fbfcfd;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 1.04rem;
    line-height: 1.7;
}

.ephemeral-after-read {
    padding: 1rem 1.05rem;
    border-radius: 11px;
    background: var(--unseenly-teal-soft);
}

.ephemeral-after-read p {
    margin: .2rem 0 0;
    color: var(--unseenly-muted);
}

.ephemeral-discover {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--unseenly-border);
}

.ephemeral-discover p {
    color: var(--unseenly-muted);
}

.ephemeral-discover-copy {
    margin-top: 1.1rem;
}

.ephemeral-discover-copy p {
    margin: 0;
    color: var(--unseenly-muted);
}

.ephemeral-discover-copy p + p {
    margin-top: .35rem;
}

.ephemeral-discover-copy strong {
    color: var(--unseenly-text);
}

@media (max-width: 767.98px) {
    .ephemeral-dashboard-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .ephemeral-dashboard-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .ephemeral-dashboard-actions .btn {
        width: 100%;
    }

    .ephemeral-created-card-title {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .ephemeral-public-main {
        padding: 2rem 0;
    }
}


/* ============================================================
   Unseenly49 — lettura temporizzata e messaggi brevi
   ============================================================ */
.ephemeral-character-help {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.ephemeral-character-count {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    font-weight: 650;
    color: var(--unseenly-text);
}

.ephemeral-destruction-countdown {
    margin: 1.15rem 0 1.3rem;
    padding: 1rem 1.1rem;
    border: 2px solid #d7b64f;
    border-radius: 12px;
    background: #fff7d8;
    color: #3d3208;
    text-align: center;
    font-size: .94rem;
    font-weight: 800;
    letter-spacing: .025em;
}

.ephemeral-destruction-countdown strong {
    display: inline-block;
    min-width: 2.2ch;
    margin: 0 .28rem;
    color: #4f3fb0;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
    .ephemeral-character-help {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }
}


/* ============================================================
   Unseenly51 — liste più leggere, slogan discreti, ricevute essenziali
   ============================================================ */

/* Le sezioni con molti elementi diventano vere liste, non pile di card. */
.records-list {
    display: block;
    border-top: 1px solid var(--unseenly-border);
}

.records-list .record-card {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 1.45rem .9rem 1.5rem;
    border: 0;
    border-bottom: 1px solid var(--unseenly-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 2.25rem;
    transition: background-color .16s ease;
}

.records-list .record-card:hover {
    background: rgba(255, 255, 255, .42);
}

.records-list .record-card-main {
    padding: .1rem 0;
}

.records-list .record-title-row {
    min-height: 1.75rem;
}

.records-list .record-contact-grid,
.records-list .record-tags,
.records-list .record-extra,
.records-list .record-notes,
.records-list .record-url {
    margin-top: .6rem;
}

.records-list .record-notes {
    line-height: 1.5;
}

/* Un'azione visibile, le altre raccolte in un menu compatto. */
.record-actions-compact {
    position: relative;
    align-items: center;
    flex-wrap: nowrap;
    gap: .55rem;
    max-width: none;
}

.record-more {
    position: relative;
}

.record-more > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 7px;
    color: var(--unseenly-text);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.record-more > summary::-webkit-details-marker {
    display: none;
}

.record-more > summary:hover,
.record-more[open] > summary {
    background: #eef2f4;
}

.record-more-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + .35rem);
    right: 0;
    min-width: 220px;
    padding: .4rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 36, 54, .13);
}

.record-more-menu a,
.record-more-menu button {
    display: block;
    width: 100%;
    padding: .58rem .65rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--unseenly-text);
    font: inherit;
    font-size: .88rem;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.record-more-menu a:hover,
.record-more-menu button:hover {
    background: #f2f5f6;
}

.record-more-menu form {
    margin: 0;
}

/* Le frasi editoriali restano presenti ma non devono rubare la scena. */
.records-closing-value,
.records-value,
.form-value {
    color: #72888b;
    font-size: .93rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.records-closing-value {
    margin-top: 3.25rem;
    padding: 0;
}

.form-value {
    margin-top: .55rem;
}

/* Pagina ricevute: una sola spiegazione breve. */
.ephemeral-receipt-note-simple {
    margin: 0 0 1.2rem;
    color: var(--unseenly-muted);
    font-size: .92rem;
}

/* Anche le ricevute seguono la stessa leggerezza visiva delle altre liste. */
.ephemeral-receipts-list .record-card {
    padding-top: 1.35rem;
    padding-bottom: 1.4rem;
}

@media (max-width: 991.98px) {
    .records-list .record-card {
        gap: 1rem;
        padding-top: 1.3rem;
        padding-bottom: 1.35rem;
    }

    .record-actions-compact {
        align-self: flex-start;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .records-list .record-card {
        padding-left: .35rem;
        padding-right: .35rem;
    }

    .record-actions-compact,
    .record-actions-compact .btn {
        width: auto;
    }

    .record-more-menu {
        right: auto;
        left: 0;
        min-width: min(240px, calc(100vw - 3rem));
    }

    .records-closing-value,
    .records-value,
    .form-value {
        font-size: .84rem;
    }
}


/* ============================================================
   Unseenly52 — pagina post-autodistruzione: invito a scoprire Unseenly
   ============================================================ */
.ephemeral-discover h2 {
    margin: 0 0 .45rem;
    font-size: 1.35rem;
    letter-spacing: -.02em;
}

.ephemeral-discover p {
    margin-bottom: 1rem;
}

.ephemeral-discover-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem;
}

.ephemeral-discover-actions .btn-brand {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .ephemeral-discover-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ephemeral-discover-actions .btn {
        width: 100%;
    }
}


/* ============================================================
   Unseenly53 — rodaggio Beta / segnalazioni volontarie
   ============================================================ */
.feedback-card {
    max-width: 760px;
}

.feedback-type-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
}

.feedback-type-option {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 48px;
    padding: .75rem .85rem;
    border: 1px solid rgba(16, 36, 54, .13);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.feedback-type-option:has(input:checked) {
    border-color: rgba(14, 111, 101, .52);
    background: rgba(233, 247, 244, .76);
}

.feedback-type-option input {
    margin: 0;
}

.feedback-privacy-note {
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
    border-radius: 10px;
    background: #f3f5f7;
    color: var(--unseenly-muted);
    line-height: 1.45;
}

.feedback-privacy-note strong {
    color: var(--unseenly-text);
    font-weight: 600;
}

.feedback-entry {
    padding-top: .2rem;
}

.admin-feedback-list {
    display: grid;
    gap: 1rem;
}

.admin-feedback-item {
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(16, 36, 54, .11);
    border-radius: 12px;
    background: #fff;
}

.admin-feedback-item.is-new {
    border-left: 4px solid #4267a9;
}

.admin-feedback-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.admin-feedback-head time {
    color: var(--unseenly-muted);
    font-size: .88rem;
}

.feedback-category-badge,
.feedback-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
}

.feedback-category-badge {
    background: #eef1f5;
    color: #405064;
}

.feedback-status-new {
    background: #dfe8fb;
    color: #244a88;
}

.feedback-status-read {
    background: #e4f2ee;
    color: #245f57;
}

.feedback-status-archived {
    background: #ececef;
    color: #64646e;
}

.admin-feedback-message {
    white-space: normal;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.admin-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.admin-feedback-actions form {
    margin: 0;
}

.admin-empty-state {
    padding: 1.25rem;
    border: 1px solid rgba(16, 36, 54, .09);
    border-radius: 12px;
    background: #fff;
    color: var(--unseenly-muted);
}

@media (max-width: 767.98px) {
    .feedback-type-list {
        grid-template-columns: 1fr;
    }

    .admin-feedback-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .55rem;
    }
}


/* ============================================================
   Unseenly54 — rodaggio segnalazioni
   ============================================================ */
.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 560px;
}

.admin-summary-grid .admin-summary {
    margin-bottom: 0;
}

.admin-summary-link {
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.admin-summary-link:hover,
.admin-summary-link:focus-visible {
    color: inherit;
    border-color: rgba(29, 143, 128, .42);
    box-shadow: 0 5px 16px rgba(16, 36, 54, .07);
}

.feedback-character-count {
    display: flex;
    justify-content: flex-end;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }
}


/* Unseenly62 — Privacy e pagine legali */
.legal-page{padding:3.5rem 0 4.5rem}.legal-shell{max-width:980px;margin:0 auto}.legal-document{background:#fff;border:1px solid #dbe4ea;border-radius:16px;padding:2.4rem 2.5rem;box-shadow:0 16px 38px rgba(16,45,68,.06)}.legal-hero{margin-bottom:2rem}.legal-kicker{margin-bottom:.55rem;color:#2f8f80;font-size:.78rem;font-weight:700;letter-spacing:.11em}.legal-hero h1{margin-bottom:.75rem}.legal-hero p{color:var(--unseenly-muted);max-width:780px}.legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.legal-card{background:#fff;border:1px solid #dbe4ea;border-radius:14px;padding:1.25rem 1.3rem}.legal-card h2{margin:0 0 .55rem;font-size:1.1rem}.legal-card p{margin:0;color:var(--unseenly-muted);line-height:1.6}.legal-document section{padding:1.45rem 0;border-top:1px solid #e3eaee}.legal-document section:first-of-type{border-top:0}.legal-document h2{margin-bottom:.8rem;font-size:1.35rem}.legal-document h3{margin:1.2rem 0 .45rem;font-size:1.05rem}.legal-document p,.legal-document li{line-height:1.68}.legal-definition-list>div{display:grid;grid-template-columns:minmax(130px,190px) 1fr;gap:1rem;padding:.55rem 0;border-bottom:1px solid #edf1f3}.legal-definition-list dt{color:var(--unseenly-muted);font-weight:500}.legal-definition-list dd{margin:0;font-weight:600}.legal-dev-note{margin-bottom:1.5rem;padding:1rem 1.1rem;border:1px solid #e6d69b;border-radius:12px;background:#fff9e8;line-height:1.55}.legal-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.7rem}.legal-table-wrap{overflow-x:auto}.legal-table{min-width:660px}.auth-privacy-note{margin-top:.9rem;color:var(--unseenly-muted);font-size:.82rem;line-height:1.5;text-align:center}.ephemeral-privacy-link{padding:1rem 1rem 2rem;text-align:center;font-size:.82rem}.ephemeral-privacy-link a{color:#718392;text-decoration:none}.ephemeral-privacy-link a:hover,.ephemeral-privacy-link a:focus-visible{text-decoration:underline}@media(max-width:767.98px){.legal-page{padding:2rem 0 3rem}.legal-document{padding:1.45rem 1.25rem}.legal-grid{grid-template-columns:1fr}.legal-definition-list>div{grid-template-columns:1fr;gap:.15rem}}


/* ============================================================
   Unseenly64 — identità dominio .me più leggera
   ============================================================ */
.unseenly-brand-tld {
    display: inline-block;
    margin-left: .03em;
    font-size: .56em;
    font-weight: 400;
    letter-spacing: -.02em;
    vertical-align: .08em;
}

/* Unseenly66 — impaginazione "Esempi reali" */
.real-examples-index,
.real-example-page {
    padding: 4.75rem 0 5.5rem;
    background: var(--unseenly-bg);
}

.real-examples-index .container,
.real-example-page .container {
    max-width: 1040px;
}

.real-examples-index-intro {
    max-width: 850px;
    margin-bottom: 3rem;
}

.real-examples-index-intro h1,
.real-example-intro h1 {
    margin-bottom: 1rem;
    color: var(--unseenly-navy);
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.real-examples-index-intro h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.real-examples-index-intro p {
    max-width: 820px;
    margin: 0;
    color: var(--unseenly-muted);
    font-size: 1.08rem;
}

.real-examples-index-intro strong {
    color: var(--unseenly-text);
}

.real-examples-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.real-example-link-card {
    min-width: 0;
}

.real-example-link-card > a {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.65rem 1.7rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: var(--unseenly-white);
    box-shadow: 0 5px 18px rgba(16,45,68,.035);
    color: var(--unseenly-text);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.real-example-link-card > a:hover,
.real-example-link-card > a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(14,141,125,.38);
    box-shadow: 0 10px 24px rgba(16,45,68,.075);
}

.real-example-link-card h2 {
    margin: 0 0 .65rem;
    color: var(--unseenly-navy);
    font-size: 1.18rem;
    font-weight: 720;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.real-example-link-card p {
    margin: 0 0 1.25rem;
    color: var(--unseenly-muted);
    font-size: .97rem;
    line-height: 1.55;
}

.real-example-link-card > a > span {
    margin-top: auto;
    color: var(--unseenly-teal-dark);
    font-size: .92rem;
    font-weight: 650;
}

/* Singolo esempio */
.real-example-shell {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 3.25rem 3.25rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 14px;
    background: var(--unseenly-white);
    box-shadow: var(--unseenly-shadow);
}

.real-example-back {
    margin-bottom: 2rem;
}

.real-example-back a,
.real-example-more a {
    color: var(--unseenly-teal-dark);
    font-size: .92rem;
    font-weight: 650;
    text-decoration: none;
}

.real-example-back a::before {
    content: "← ";
}

.real-example-back a:hover,
.real-example-more a:hover {
    text-decoration: underline;
    text-underline-offset: .18em;
}

.real-example-intro {
    padding-bottom: 2rem;
    margin-bottom: 2.15rem;
    border-bottom: 1px solid var(--unseenly-border);
}

.real-example-intro h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.real-example-intro p {
    margin: 0;
    color: var(--unseenly-muted);
    font-size: 1.12rem;
    line-height: 1.65;
}

.real-example-section {
    margin-top: 2.15rem;
}

.real-example-section h2 {
    margin: 0 0 .8rem;
    color: var(--unseenly-navy);
    font-size: 1.35rem;
    font-weight: 720;
    letter-spacing: -.02em;
}

.real-example-section p {
    margin-bottom: .85rem;
    color: var(--unseenly-text);
}

.real-example-section ul {
    margin: .65rem 0 0;
    padding-left: 1.25rem;
}

.real-example-section li {
    margin-bottom: .45rem;
}

.message-guide-steps {
    margin: .75rem 0 0;
    padding-left: 1.35rem;
}

.message-guide-steps li {
    padding-left: .2rem;
    margin-bottom: .9rem;
}

.real-example-cta {
    margin-top: 2.75rem;
    padding: 1.8rem 2rem;
    border-radius: 12px;
    background: var(--unseenly-teal-soft);
}

.real-example-cta h2 {
    margin: 0 0 .55rem;
    color: var(--unseenly-navy);
    font-size: 1.35rem;
    font-weight: 730;
}

.real-example-cta p {
    margin: 0 0 1.15rem;
    color: var(--unseenly-text);
}

.real-example-more {
    margin-top: 1.65rem;
    text-align: center;
}

/* Richiami in home */
.real-examples-home {
    background: var(--unseenly-white);
}

.real-example-home-card {
    height: 100%;
    display: block;
    padding: 1.45rem 1.4rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: var(--unseenly-white);
    color: var(--unseenly-text);
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(16,45,68,.035);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.real-example-home-card:hover,
.real-example-home-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(14,141,125,.38);
    box-shadow: 0 9px 22px rgba(16,45,68,.07);
}

.real-example-home-card strong,
.real-example-home-card span {
    display: block;
}

.real-example-home-card strong {
    margin-bottom: .55rem;
    color: var(--unseenly-navy);
    font-size: 1.02rem;
    line-height: 1.35;
}

.real-example-home-card span {
    color: var(--unseenly-muted);
    font-size: .94rem;
    line-height: 1.55;
}

.real-examples-all-link {
    color: var(--unseenly-teal-dark);
    font-weight: 650;
    text-decoration: none;
}

.real-examples-all-link:hover {
    text-decoration: underline;
    text-underline-offset: .18em;
}

@media (max-width: 767.98px) {
    .real-examples-index,
    .real-example-page {
        padding: 3.25rem 0 4rem;
    }

    .real-examples-list {
        grid-template-columns: 1fr;
    }

    .real-example-shell {
        padding: 2rem 1.35rem 2.25rem;
        border-radius: 10px;
    }

    .real-example-cta {
        padding: 1.4rem 1.25rem;
    }
}


/* Unseenly71 — Turnstile e Contatti */
.turnstile-wrap { min-height: 65px; display: flex; align-items: center; }
.contact-page { padding: 4.5rem 0 6rem; background: var(--surface-soft, #f7f9fb); }
.contact-shell { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid rgba(16,45,68,.10); border-radius: 18px; padding: 2.25rem; box-shadow: 0 16px 40px rgba(16,45,68,.06); }
.contact-hero { margin-bottom: 2rem; }
.contact-hero h1 { margin: .35rem 0 .75rem; }
.contact-hero p { color: var(--muted, #667788); margin-bottom: 0; }
.contact-form textarea { resize: vertical; min-height: 180px; }
.contact-privacy-note { margin-top: 1rem; font-size: .92rem; color: var(--muted, #667788); }
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: .7rem;
}
.language-switcher-button {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 34px;
    padding: .34rem .62rem;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.92);
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .045em;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.language-switcher-button:hover,
.language-switcher-button:focus-visible,
.language-switcher-button[aria-expanded="true"] {
    color: #fff;
    border-color: rgba(255,255,255,.56);
    background: rgba(255,255,255,.13);
}
.language-switcher-button.dropdown-toggle::after {
    margin-left: .05rem;
    vertical-align: .12em;
}
.language-switcher-globe {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.language-switcher-menu {
    min-width: 11.5rem;
    margin-top: .48rem !important;
    padding: .4rem;
    border: 1px solid rgba(16,45,68,.12);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(16,45,68,.18);
}
.language-switcher-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .58rem .7rem;
    border-radius: 8px;
    color: var(--unseenly-navy);
    font-size: .9rem;
    font-weight: 600;
}
.language-switcher-item:hover,
.language-switcher-item:focus {
    color: var(--unseenly-teal-dark);
    background: var(--unseenly-teal-soft);
}
.language-switcher-item.active,
.language-switcher-item.active:hover,
.language-switcher-item.active:focus {
    color: var(--unseenly-navy);
    background: rgba(119,221,206,.18);
}
.language-switcher-check {
    flex: 0 0 auto;
    color: var(--unseenly-teal-dark);
    font-size: .9rem;
    font-weight: 800;
}
@media (max-width: 991.98px) {
    .language-switcher {
        display: block;
        margin: .7rem 0 .25rem;
    }
    .unseenly-navbar .navbar-collapse .language-switcher-button {
        color: var(--unseenly-navy);
        border-color: var(--unseenly-border);
        background: #ffffff;
    }
    .unseenly-navbar .navbar-collapse .language-switcher-button:hover,
    .unseenly-navbar .navbar-collapse .language-switcher-button:focus-visible,
    .unseenly-navbar .navbar-collapse .language-switcher-button[aria-expanded="true"] {
        color: var(--unseenly-teal-dark);
        border-color: rgba(31,143,132,.35);
        background: var(--unseenly-teal-soft);
    }
    .language-switcher-menu {
        width: min(100%, 18rem);
        margin-top: .35rem !important;
        box-shadow: 0 8px 24px rgba(16,45,68,.12);
    }
}
@media (max-width: 575.98px) { .contact-page { padding: 2.5rem 0 4rem; } .contact-shell { padding: 1.4rem; border-radius: 14px; } }


/* ============================================================
   Unseenly82 — messaggi in evidenza, iscrizione e dati legali
   ============================================================ */
.hero-message-teaser {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    max-width: 760px;
    padding: .9rem 1.05rem;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 12px;
    background: rgba(8,54,68,.20);
    color: #fff;
    text-align: left;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.hero-message-teaser:hover,
.hero-message-teaser:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.7);
    background: rgba(8,54,68,.32);
    color: #fff;
}
.hero-message-badge,
.message-preview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 32px;
    padding: .42rem .68rem;
    border-radius: 999px;
    background: #dff8f3;
    color: #16786e;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .065em;
    line-height: 1;
    white-space: nowrap;
}
.hero-message-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .12rem;
    min-width: 0;
}
.hero-message-copy strong { font-size: .94rem; }
.hero-message-copy span {
    color: rgba(255,255,255,.82);
    font-size: .84rem;
    line-height: 1.35;
}
.hero-message-arrow {
    flex: 0 0 auto;
    font-size: 1.25rem;
}
.message-preview-icon {
    margin-bottom: 1.25rem;
    background: rgba(119,221,206,.16);
    color: #8ce6d9;
}
.legal-controller-details {
    margin: .9rem 0 1.1rem;
    border: 1px solid var(--unseenly-border);
    border-radius: 12px;
    background: #f8fbfb;
    overflow: hidden;
}
.legal-controller-details summary {
    padding: 1rem 1.1rem;
    color: var(--unseenly-teal-dark, #16786e);
    font-weight: 700;
    cursor: pointer;
}
.legal-controller-details[open] summary { border-bottom: 1px solid var(--unseenly-border); }
.legal-controller-details .legal-definition-list {
    margin: 0;
    padding: .35rem 1.1rem .75rem;
}
@media (max-width: 575.98px) {
    .hero-message-teaser {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: .75rem;
        width: 100%;
        padding: .85rem;
    }
    .hero-message-copy span { font-size: .82rem; }
}


/* ============================================================
   Unseenly83 — presenza ambientale nella hero
   ============================================================ */
.hero-presence-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.05rem;
}

.hero-presence-pill {
    display: inline-flex;
    align-items: center;
    gap: .62rem;
    max-width: 100%;
    padding: .42rem .78rem .42rem .5rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(8,54,68,.14);
    color: rgba(255,255,255,.96);
    box-shadow: 0 8px 22px rgba(5,44,58,.08);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-presence-symbol {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.hero-presence-symbol svg {
    display: block;
    width: 30px;
    height: 30px;
    overflow: visible;
}

.hero-presence-symbol .presence-sphere {
    transform-origin: 94px 86px;
    animation: presenceSphereArrival .42s ease-out both,
               presenceSymbolPulse .62s ease-out 2.15s 1;
}

.hero-presence-symbol .presence-swoosh {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: presenceSwooshReveal .86s cubic-bezier(.2,.72,.28,1) .34s forwards;
}

@keyframes presenceSphereArrival {
    0% { opacity: 0; transform: scale(.78); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes presenceSwooshReveal {
    0% {
        opacity: 0;
        transform: translate(-9px, 6px) scale(.90) rotate(-5deg);
        filter: blur(1.4px);
    }
    65% { opacity: 1; }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes presenceSymbolPulse {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.045); }
}

@media (max-width: 575.98px) {
    .hero-presence-wrap { margin-top: .9rem; }
    .hero-presence-pill {
        padding: .4rem .68rem .4rem .44rem;
        font-size: .86rem;
    }
    .hero-presence-symbol,
    .hero-presence-symbol svg {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-presence-symbol .presence-sphere,
    .hero-presence-symbol .presence-swoosh {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* ============================================================
   Unseenly84 — hero più vivo + capsula presenza definitiva
   ============================================================ */
.hero-section {
    background:
        radial-gradient(circle at 86% 17%, rgba(46,244,219,.42) 0, rgba(46,244,219,.14) 24%, transparent 43%),
        radial-gradient(circle at 9% 88%, rgba(64,238,222,.34) 0, rgba(64,238,222,.12) 25%, transparent 44%),
        linear-gradient(118deg, #0875c7 0%, #0799c4 43%, #0bbec2 72%, #28dfce 100%);
}

.hero-section::before {
    width: 560px;
    height: 560px;
    left: -280px;
    top: -285px;
    background: rgba(65,226,239,.20);
}

.hero-section::after {
    width: 760px;
    height: 470px;
    right: -300px;
    bottom: -330px;
    background: rgba(55,238,214,.18);
    transform: rotate(-12deg);
}

.hero-presence-wrap {
    margin-top: 1.25rem;
}

.hero-presence-pill {
    position: relative;
    overflow: hidden;
    gap: .82rem;
    padding: .46rem .96rem .46rem .62rem;
    border: 1px solid rgba(255,255,255,.36);
    background: rgba(7,70,103,.20);
    box-shadow:
        0 10px 28px rgba(1,49,82,.13),
        inset 0 1px 0 rgba(255,255,255,.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: .94rem;
    font-weight: 650;
    letter-spacing: -.01em;
}

.hero-presence-pill::after {
    content: "";
    position: absolute;
    top: -45%;
    bottom: -45%;
    left: -34%;
    width: 24%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent);
    transform: skewX(-18deg);
    animation: presenceLightPass 1.44s ease-out 1.44s 1 both;
}

.hero-presence-symbol,
.hero-presence-symbol svg {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.hero-presence-symbol {
    animation: presenceWholePulse 1.24s ease-out 4.5s 1;
}

.hero-presence-symbol .presence-sphere {
    animation: presenceSphereArrival .76s ease-out both;
}

.hero-presence-symbol .presence-swoosh {
    animation: presenceSwooshReveal 1.64s cubic-bezier(.2,.72,.28,1) .52s forwards;
}

.hero-presence-text {
    opacity: 0;
    transform: translateX(-4px);
    animation: presenceTextReveal .84s ease-out 1.44s forwards;
}

@keyframes presenceTextReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes presenceWholePulse {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.07); }
}

@keyframes presenceLightPass {
    0% { left: -34%; opacity: 0; }
    20% { opacity: 1; }
    100% { left: 118%; opacity: 0; }
}

@media (max-width: 575.98px) {
    .hero-presence-wrap { margin-top: 1rem; }
    .hero-presence-pill {
        gap: .62rem;
        padding: .38rem .68rem .38rem .48rem;
        font-size: .84rem;
    }
    .hero-presence-symbol,
    .hero-presence-symbol svg {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-presence-symbol,
    .hero-presence-text,
    .hero-presence-pill::after {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
