/* Presentazione di Ready Condominio sul dominio della piattaforma (view frontend/readycondominio/index).
   Colori dalle variabili del layout (--rc-primary, --rc-accent); prima il telefono, poi gli schermi grandi. */
.lp { overflow-x: hidden; }
.lp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--rc-display); font-weight: 600; font-size: 18px; }
.lp-logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--rc-accent); color: var(--rc-on-accent); display: grid; place-items: center; font-size: 15px; font-weight: 700; }

/* apertura */
.lp-hero { background: var(--rc-primary); color: var(--rc-on-primary); padding: calc(28px + env(safe-area-inset-top)) 0 48px; border-radius: 0 0 32px 32px; }
.lp-title { font-size: 36px; line-height: 1.1; margin: 34px 0 14px; letter-spacing: -.5px; }
.lp-lead { font-size: 17px; opacity: .9; max-width: 560px; }
.lp-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.lp-hero-tags span { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.lp-cta { display: inline-block; background: var(--rc-accent); color: var(--rc-on-accent); text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 14px; }
.lp-cta:hover { color: var(--rc-on-accent); opacity: .92; }

/* sezioni */
.lp-section { padding: 44px 0 8px; }
.lp-h2 { font-size: 26px; line-height: 1.2; }
.lp-sub { color: var(--rc-muted); margin-top: 6px; }
.lp-swipe { display: inline-block; animation: lp-nudge 1.4s ease-in-out infinite; }
@keyframes lp-nudge { 50% { transform: translateX(5px); } }

/* schermate: carosello sul telefono, griglia sugli schermi grandi */
.lp-phones { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px 20px 26px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.lp-phones::-webkit-scrollbar { display: none; }
.lp-shot { flex: 0 0 auto; width: 262px; margin: 0; scroll-snap-align: center; }
.lp-shot figcaption { margin-top: 14px; font-size: 14px; color: var(--rc-muted); }
.lp-shot figcaption b { display: block; color: var(--rc-text); font-family: var(--rc-display); font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* telefono */
.lp-phone { position: relative; height: 530px; border-radius: 34px; background: var(--rc-bg); border: 8px solid #1d2b2f; box-shadow: var(--rc-shadow); overflow: hidden; display: flex; flex-direction: column; font-size: 12px; }
.ph-head { background: var(--rc-primary); color: var(--rc-on-primary); padding: 22px 14px 14px; border-radius: 0 0 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.ph-head > b { font-family: var(--rc-display); font-size: 17px; font-weight: 600; }
.ph-head-large { padding-bottom: 60px; }
.ph-brand { display: flex; align-items: center; gap: 8px; }
.ph-brand div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.ph-brand small { opacity: .8; }
.ph-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--rc-accent); color: var(--rc-on-accent); display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.ph-bell { background: var(--rc-accent); color: var(--rc-on-accent); border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.ph-hello { font-family: var(--rc-display); font-size: 19px; font-weight: 600; margin-top: 10px; }
.ph-unit { opacity: .85; }
.ph-back { opacity: .85; font-size: 11px; }
.ph-years { display: flex; gap: 6px; }
.ph-years span { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.ph-years span.on { background: var(--rc-accent); color: var(--rc-on-accent); font-weight: 700; }
.ph-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ph-overlap { margin-top: -50px; }
.ph-card { background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--rc-shadow-small); display: flex; flex-direction: column; gap: 3px; }
.ph-card small { color: var(--rc-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; font-size: 9.5px; }
.ph-card b { font-size: 13px; }
.ph-card-main { border-top: 4px solid var(--rc-accent); }
.ph-big { font-family: var(--rc-display); font-size: 22px !important; font-weight: 600; color: var(--rc-primary); }
.ph-muted { color: var(--rc-muted); font-size: 11px; }
.ph-row { flex-direction: row; align-items: center; gap: 10px; }
.ph-row div { display: flex; flex-direction: column; }
.ph-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.ph-dot-accent { background: var(--rc-accent); }
.ph-state { align-self: flex-start; background: var(--rc-accent-soft); color: var(--rc-text); border-radius: 999px; padding: 2px 9px; font-weight: 700; font-size: 10px; margin-bottom: 4px; }
.ph-state-open { background: var(--rc-primary-soft); color: var(--rc-primary); }
.ph-photo { height: 92px; border-radius: 10px; margin: 8px 0 4px; background: linear-gradient(135deg, var(--rc-primary-soft), var(--rc-accent-soft)); display: grid; place-items: center; font-size: 26px; }
.ph-support { color: var(--rc-muted); }
.ph-reply { background: #fff; border-radius: 12px 12px 12px 4px; padding: 9px 11px; display: flex; flex-direction: column; gap: 2px; max-width: 88%; box-shadow: var(--rc-shadow-small); }
.ph-reply small { font-weight: 700; color: var(--rc-muted); font-size: 10px; }
.ph-reply-admin { align-self: flex-end; background: var(--rc-primary); color: var(--rc-on-primary); border-radius: 12px 12px 4px 12px; }
.ph-reply-admin small { color: inherit; opacity: .8; }
.ph-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--rc-line); margin: 10px 0 6px; }
.ph-bar i, .ph-legend i { display: block; }
.y { background: var(--rc-yes); }
.n { background: var(--rc-no); }
.a { background: var(--rc-abstain); }
.ph-legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 10.5px; color: var(--rc-muted-dark); margin-bottom: 4px; }
.ph-legend span { display: inline-flex; align-items: center; gap: 4px; }
.ph-legend i { width: 8px; height: 8px; border-radius: 2px; }
.ph-legend-col { flex-direction: column; gap: 4px; }
.ph-vote { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.ph-btn { color: #fff; border-radius: 10px; padding: 10px 4px; text-align: center; font-weight: 700; }
.ph-note { color: var(--rc-muted); font-size: 10.5px; text-align: center; }
.ph-donut { width: 104px; height: 104px; border-radius: 50%; margin: 8px auto; background: conic-gradient(var(--rc-primary) 0 44%, var(--rc-accent) 44% 81%, var(--rc-abstain) 81% 100%); -webkit-mask: radial-gradient(circle, transparent 30px, #000 31px); mask: radial-gradient(circle, transparent 30px, #000 31px); }
.c1 { background: var(--rc-primary); }
.c2 { background: var(--rc-accent); }
.c3 { background: var(--rc-abstain); }
.ph-file { width: 36px; height: 42px; border-radius: 8px; background: var(--rc-primary-soft); color: var(--rc-primary); display: grid; place-items: center; font-weight: 800; font-size: 10px; flex: 0 0 auto; }
.ph-nav { display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--rc-line); padding: 10px 6px 14px; color: var(--rc-muted); font-weight: 600; font-size: 10.5px; }
.ph-nav .on { color: var(--rc-primary); font-weight: 800; }

/* funzioni */
.lp-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.lp-feat { background: #fff; border-radius: var(--rc-radius); padding: 18px; box-shadow: var(--rc-shadow-small); }
.lp-feat h3 { font-size: 18px; margin: 8px 0 4px; }
.lp-feat p { color: var(--rc-muted); font-size: 15px; }
.lp-ic { font-size: 24px; }
.lp-admin { background: var(--rc-primary-soft); border-radius: 24px; padding: 26px 20px; }
.lp-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lp-list li { padding-left: 26px; position: relative; font-size: 15.5px; }
.lp-list li::before { content: "✓"; position: absolute; left: 0; color: var(--rc-primary); font-weight: 800; }
.lp-foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--rc-muted); }
.lp-foot p { margin-top: 8px; }

@media (min-width: 720px) {
    .lp-title { font-size: 52px; }
    .lp-lead { font-size: 19px; }
    .lp-hero { padding: 40px 0 70px; }
    .lp-grid { grid-template-columns: 1fr 1fr 1fr; }
    .lp-section { padding-top: 64px; }
    .lp-h2 { font-size: 32px; }
    .lp-admin { padding: 36px; }
}
@media (min-width: 1100px) {
    .lp-phones { justify-content: center; flex-wrap: wrap; overflow: visible; }
    .lp-swipe, .lp-sub { display: none; }
}
