/* Pagina di presentazione di passo·clock (V2.6.2). File a parte: la pagina non dipende dalla copia di styles.css
   che il browser ha in memoria. Colori del sito (--ink, --red, --paper, --cream, --line, --slate); dentro il telefono
   i colori dell'app passo·clock (verde #7ED957), sempre chiari come su un telefono vero. */
.pora { --pg: #7ED957; --pg-dark: #2F7A22; }
.pora em { font-style: normal; color: var(--red-text); }

/* ---- prima schermata */
.pora-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); background: radial-gradient(120% 90% at 100% 0%, rgba(126, 217, 87, .14), transparent 55%), var(--paper); }
.pora-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pora-logo { display: inline-flex; align-items: center; gap: .26em; margin: 0 0 22px; font: 700 clamp(1.9rem, 4vw, 2.4rem)/1 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink); }
.pora-clock { width: 1.1em; height: 1.1em; flex: none; overflow: visible; color: var(--ink); }
.pora-h, .pora-m { transform-origin: 12px 12px; transform-box: view-box; }
.pora-dot { display: inline-block; position: relative; z-index: 1; color: var(--pg); will-change: transform; }
.pora-hero h1 { font: 700 clamp(2.2rem, 5vw, 3.6rem)/1.04 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.035em; margin: 0 0 20px; color: var(--ink); }
.pora-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--slate); max-width: 34em; margin: 0 0 28px; }
.pora-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pora-ctas-c { justify-content: center; }
.pora-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 600 1rem 'Space Grotesk', system-ui, sans-serif; text-decoration: none; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.pora-btn:active { transform: translateY(1px); }
.pora-btn-red { background: var(--red); color: #fff; }
.pora-btn-red:hover { background: var(--btn-hover, #AA2E1A); }
.pora-btn-ghost { border: 1.5px solid var(--line-strong, var(--line)); color: var(--ink); background: transparent; }
.pora-btn-ghost:hover { border-color: var(--ink); }
.pora-btn-light { background: #fff; color: #1B1F23; }
.pora-ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; color: var(--ink); font-size: .98rem; }
.pora-ticks li { display: flex; align-items: center; gap: 10px; }
.pora-ticks li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--pg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1F23' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---- simulatore */
.pora-sim { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pora-roles { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.pora-role { border: 0; background: transparent; color: var(--slate); font: 600 .95rem 'Space Grotesk', system-ui, sans-serif; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.pora-role.is-on { background: var(--ink); color: var(--paper); }
.pora-phone { position: relative; width: min(330px, 86vw); aspect-ratio: 330 / 640; border-radius: 46px; padding: 12px; background: #1B1F23; box-shadow: 0 50px 80px -40px rgba(27, 31, 35, .55), inset 0 0 0 2px #3a3f45; }
.pora-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #1B1F23; z-index: 2; }
.pora-screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: #FDFDFC; color: #1B1F23; padding: 50px 18px 18px; font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 15px; }
.pora-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pora-mini { display: inline-flex; align-items: center; gap: 5px; font: 700 1rem 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.02em; }
.pora-mini svg { width: 18px; height: 18px; }
.pora-mini b { color: #7ED957; }
.pora-who-top { font-size: .85rem; color: #6B7178; }
.pora-view { animation: pora-in .32s ease both; }
.pora-view[hidden] { display: none; }
@keyframes pora-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pora-k { margin: 0 0 4px; font: 500 .72rem 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase; color: #6B7178; }
.pora-h3 { margin: 0 0 12px; font: 700 1.15rem 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.02em; }
.pora-row { display: grid; grid-template-columns: 1fr 40px 74px 40px; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid #E4E2DD; }
.pora-row b { text-align: center; font: 700 1.2rem 'Space Grotesk', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.pora-step { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #F1F0EC; color: #1B1F23; font: 600 1.3rem/1 'Space Grotesk', system-ui, sans-serif; cursor: pointer; transition: background-color .15s ease, transform .1s ease; }
.pora-step:hover { background: #E7E5DF; }
.pora-step:active { transform: scale(.94); }
.pora-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 14px; font: 700 1.05rem 'Space Grotesk', system-ui, sans-serif; }
.pora-total b { font-size: 1.6rem; letter-spacing: -.02em; }
.pora-save { width: 100%; min-height: 50px; border: 0; border-radius: 14px; background: #7ED957; color: #1B1F23; font: 700 1rem 'Space Grotesk', system-ui, sans-serif; cursor: pointer; transition: filter .15s ease, transform .1s ease; }
.pora-save:hover { filter: brightness(.96); }
.pora-save:active { transform: scale(.98); }
.pora-save-ghost { background: #F1F0EC; }
.pora-week { display: flex; justify-content: space-between; margin-top: 16px; }
.pora-week span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #F1F0EC; font: 600 .9rem 'Space Grotesk', system-ui, sans-serif; color: #6B7178; transition: background-color .3s ease, color .3s ease; }
.pora-week .ok { background: #7ED957; color: #1B1F23; }
.pora-week .now { box-shadow: inset 0 0 0 2px #1B1F23; color: #1B1F23; }
.pora-check { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #E4E2DD; cursor: pointer; }
.pora-check input { width: 20px; height: 20px; margin: 0; accent-color: #2F7A22; }
.pora-check b { font: 700 1rem 'Space Grotesk', system-ui, sans-serif; }
.pora-pad { margin: 14px 0 12px; height: 92px; border: 1.5px dashed #CFCCC4; border-radius: 14px; display: grid; place-items: center; position: relative; color: #1B1F23; }
.pora-pad svg { width: 82%; height: 60px; }
.pora-pad small { position: absolute; bottom: 6px; font-size: .72rem; color: #6B7178; }
.pora-pad [data-sig] { stroke-dasharray: 420; stroke-dashoffset: 420; }
.pora-pad.is-signed [data-sig] { transition: stroke-dashoffset 1.1s ease; stroke-dashoffset: 0; }
.pora-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 12px; }
.pora-counts div { background: #F1F0EC; border-radius: 12px; padding: 8px 4px; text-align: center; }
.pora-counts b { display: block; font: 700 1.25rem 'Space Grotesk', system-ui, sans-serif; }
.pora-counts b.g { color: #2F7A22; }
.pora-counts b.r { color: #A3241B; }
.pora-counts span { font-size: .66rem; color: #6B7178; }
.pora-list { list-style: none; margin: 0 0 14px; padding: 0; }
.pora-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #E4E2DD; font-size: .9rem; }
.pora-list small { display: block; color: #6B7178; font-size: .75rem; }
.pora-list b { font: 700 .95rem 'Space Grotesk', system-ui, sans-serif; }
.pora-list .pill { font: 500 .66rem 'IBM Plex Mono', ui-monospace, monospace; font-style: normal; padding: 3px 7px; border-radius: 999px; }
.pora-list .ok { background: rgba(126, 217, 87, .25); color: #2F7A22; }
.pora-list .wait { background: #F1F0EC; color: #6B7178; }
.pora-list .no { background: rgba(163, 36, 27, .12); color: #A3241B; }
.pora-toast { position: absolute; left: 18px; right: 18px; bottom: 18px; margin: 0; padding: 12px 14px; border-radius: 14px; background: #1B1F23; color: #fff; font-size: .9rem; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.pora-toast.is-on { opacity: 1; transform: none; }
.pora-sim-note { margin: 0; font-size: .85rem; color: var(--slate); text-align: center; }

/* ---- sezioni */
.pora-sec { padding: clamp(56px, 8vw, 104px) 0; background: var(--paper); }
.pora-sec-cream { background: var(--cream); }
.pora-tag { display: inline-block; margin-bottom: 12px; font: 500 .78rem 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--red-text); }
.pora-h2 { font: 700 clamp(1.7rem, 3.4vw, 2.5rem)/1.1 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.03em; margin: 0 0 clamp(28px, 4vw, 44px); color: var(--ink); max-width: 20em; }
.pora-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.pora-steps li { padding: 24px; border-radius: 22px; background: var(--cream); border: 1px solid var(--line); }
.pora-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 1rem 'Space Grotesk', system-ui, sans-serif; margin-bottom: 14px; }
.pora-steps h3, .pora-feats h3 { font: 700 1.1rem/1.25 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ink); }
.pora-steps p, .pora-feats p { margin: 0; color: var(--slate); line-height: 1.55; }
.pora-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pora-feats > div { padding: 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.pora-feats > div::before { content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--pg); margin-bottom: 16px; }
.pora-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); }
.pora-faq { border-bottom: 1px solid var(--line); }
.pora-faq summary { cursor: pointer; padding: 20px 0; font: 600 1.08rem 'Space Grotesk', system-ui, sans-serif; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pora-faq summary::-webkit-details-marker { display: none; }
.pora-faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--slate); transition: transform .2s ease; }
.pora-faq[open] summary::after { transform: rotate(45deg); }
.pora-faq p { margin: 0 0 20px; color: var(--slate); line-height: 1.6; }
.pora-cta { padding: clamp(56px, 8vw, 96px) 0; background: #1B1F23; color: #fff; text-align: center; }
.pora-cta h2 { font: 700 clamp(1.8rem, 4vw, 2.8rem)/1.1 'Space Grotesk', system-ui, sans-serif; letter-spacing: -.03em; margin: 0 0 12px; }
.pora-cta p { margin: 0 auto 28px; max-width: 34em; color: rgba(255, 255, 255, .72); }

@media (max-width: 960px) {
  .pora-hero-grid, .pora-faq-wrap { grid-template-columns: 1fr; }
  .pora-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pora-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pora-steps, .pora-feats { grid-template-columns: 1fr; }
  .pora-ctas .pora-btn { flex: 1 1 100%; }
  .pora-role { padding: 8px 12px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pora-view, .pora-toast, .pora-pad.is-signed [data-sig] { animation: none; transition: none; }
}
