:root {
  --wf-red: #e30613;
  --wf-green: #1a7a45;
  --wf-mint: #2ecc71;
  --wf-sky: #2f7fb8;
  --wf-coral: #ff6b6b;
  --wf-orange: #ff9800;
  --wf-gold: #d4a017;
  --wf-ink: #1c2b36;
  --wf-muted: #5a6b78;
  --wf-paper: #f3f7f4;
  --wf-line: #d7e5dc;
  --wf-card: #ffffff;
  --wf-sidebar: #ffffff;
  --primary-color: #1a7a45;
  --text-color: #1c2b36;
  --dark-bg: #1c2b36;
  --wf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wf-forest: #0f3d2a;
  --wf-leaf: #2f9e5b;
  --wf-wash:
    radial-gradient(1100px 620px at 6% -10%, rgba(15, 61, 42, 0.18), transparent 58%),
    radial-gradient(900px 520px at 100% -4%, rgba(227, 6, 19, 0.12), transparent 54%),
    radial-gradient(820px 460px at 70% 108%, rgba(47, 158, 91, 0.16), transparent 58%),
    linear-gradient(165deg, #ebf4ee 0%, #f6f1ea 46%, #e5efe9 100%);
  --wf-surface: rgba(255, 255, 255, 0.86);
  --wf-shadow: 0 16px 40px rgba(15, 61, 42, 0.1);
}

* { box-sizing: border-box; }

.preview-banner {
  background: #b45309;
  color: #fff;
  text-align: center;
  font-family: "Outfit", "Source Sans 3", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.75rem;
  z-index: 1000;
}

html {
  height: 100%;
}

body.suite {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text-color);
  background: var(--wf-paper);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

body.shell-app,
body.shell-landing,
body.shell-auth,
body.shell-legal {
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--wf-wash);
}

/* Sito pubblico (landing + pagine marketing): scroll consentito */
body.shell-site {
  height: auto;
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--wf-wash);
}

body.shell-site .hero-section--sell {
  min-height: calc(100dvh - 120px);
}

.site-band {
  padding: clamp(56px, 9vh, 100px) 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(243, 247, 244, 0.94));
  border-top: 1px solid rgba(215, 229, 220, 0.85);
  animation: siteRise 0.7s var(--wf-ease) both;
  animation-delay: 0.12s;
}

.site-band--alt {
  background:
    linear-gradient(180deg, rgba(15, 61, 42, 0.045), rgba(255, 255, 255, 0.72));
}

@keyframes siteRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-band-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: left;
}

.site-band h2,
.site-page h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--wf-forest);
  line-height: 1.12;
  margin: 0 0 14px;
}

.site-band h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.site-band-lead,
.site-lead {
  margin: 0 0 28px;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--wf-muted);
  font-weight: 500;
}

.site-pillars {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .site-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.site-pillars h3 {
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wf-forest);
  margin: 0 0 8px;
}

.site-pillars p {
  margin: 0;
  color: var(--wf-muted);
  line-height: 1.45;
  font-size: 0.98rem;
}

.site-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-cta-bar--center {
  justify-content: center;
}

.site-band--alt {
  background:
    linear-gradient(180deg, rgba(238, 246, 240, 0.9), rgba(255, 255, 255, 0.72));
  border-top: 1px solid rgba(215, 229, 220, 0.85);
}

.site-band--cta {
  background:
    radial-gradient(720px 280px at 50% 0%, rgba(227, 6, 19, 0.08), transparent 70%),
    linear-gradient(180deg, #0f3d2a 0%, #0a2a1c 100%);
  border-top: 0;
  color: #f4faf6;
}

.site-band--cta h2 {
  color: #f4faf6;
}

.site-band--cta .site-band-lead {
  color: rgba(244, 250, 246, 0.78);
  margin-left: auto;
  margin-right: auto;
}

.site-band--cta .btn-ghost {
  color: #f4faf6;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.site-band--cta .btn-ghost:hover {
  color: #0f3d2a;
  background: #fff;
  border-color: #fff;
}

.site-band-inner--center {
  text-align: center;
}

.site-band-inner--center .site-band-lead {
  margin-left: auto;
  margin-right: auto;
}

.site-steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 28rem;
}

.site-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--wf-forest);
}

.site-steps span {
  flex: 0 0 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--wf-forest);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-page {
  flex: 1;
  padding: clamp(36px, 6vh, 72px) 20px 56px;
  animation: siteRise 0.65s var(--wf-ease) both;
}

.site-page-inner {
  width: min(820px, 100%);
  margin: 0 auto;
}

.site-page-inner--narrow {
  width: min(560px, 100%);
}

.site-kicker {
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wf-red);
  margin: 0 0 12px;
}

.site-page h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
}

.site-feature-rows {
  display: grid;
  gap: 0;
  margin: 8px 0 36px;
  border-top: 1px solid var(--wf-line);
}

.site-feature-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--wf-line);
}

.site-feature-row h2 {
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wf-forest);
  margin: 0 0 8px;
}

.site-feature-row p {
  margin: 0;
  color: var(--wf-muted);
  line-height: 1.5;
  max-width: 40rem;
}

.site-page-inner--wide {
  width: min(1120px, 100%);
  max-width: 1120px;
}

.feat-page .feat-hero {
  margin-bottom: 42px;
}

.feat-page .feat-hero h1 {
  max-width: 18ch;
}

.feat-page .feat-hero .site-lead {
  max-width: 38rem;
}

.feat-duo {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  align-items: stretch;
}

@media (min-width: 720px) {
  .feat-duo {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 720px;
  }
}

.feat-duo-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 61, 42, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 247, 244, 0.88));
  box-shadow: 0 10px 24px rgba(15, 61, 42, 0.06);
}

.feat-duo-card span {
  display: block;
  margin-bottom: 4px;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.feat-duo-card strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wf-forest);
}

.feat-duo-card--sci {
  border-color: rgba(26, 122, 69, 0.22);
  background:
    linear-gradient(145deg, rgba(26, 122, 69, 0.1), rgba(255, 255, 255, 0.95) 55%);
}

.feat-duo-card--studio {
  border-color: rgba(227, 6, 19, 0.18);
  background:
    linear-gradient(145deg, rgba(227, 6, 19, 0.08), rgba(255, 255, 255, 0.95) 55%);
}

.feat-duo-plus {
  display: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wf-forest);
  opacity: 0.45;
  text-align: center;
}

@media (min-width: 720px) {
  .feat-duo-plus {
    display: block;
  }
}

.feat-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.feat-jump a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 61, 42, 0.16);
  background: rgba(255, 255, 255, 0.82);
  font-family: Outfit, sans-serif;
  font-weight: 650;
  font-size: 0.88rem;
  color: var(--wf-forest);
  text-decoration: none;
  transition: background 0.2s var(--wf-ease), border-color 0.2s var(--wf-ease), transform 0.2s var(--wf-ease);
}

.feat-jump a:hover {
  background: #fff;
  border-color: rgba(227, 6, 19, 0.35);
  color: var(--wf-red);
  transform: translateY(-1px);
}

.feat-area {
  margin: 0 0 56px;
  scroll-margin-top: 88px;
}

.feat-area-head {
  margin: 0 0 24px;
  max-width: 46rem;
  padding-left: 14px;
  border-left: 3px solid var(--wf-leaf);
}

.feat-area#gestione-studio .feat-area-head {
  border-left-color: var(--wf-red);
}

.feat-area-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 61, 42, 0.1);
  color: var(--wf-forest);
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feat-area-badge--studio {
  background: rgba(227, 6, 19, 0.1);
  color: var(--wf-red);
}

.feat-area-head h2 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--wf-forest);
}

.feat-area-head p {
  margin: 0;
  color: var(--wf-muted);
  line-height: 1.5;
}

.feat-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .feat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feat-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 61, 42, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(15, 61, 42, 0.06);
  overflow: hidden;
  transition: transform 0.28s var(--wf-ease), box-shadow 0.28s var(--wf-ease);
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 61, 42, 0.12);
}

.feat-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 16px 16px 18px;
}

.feat-card-body h3 {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--wf-ink);
}

.feat-card-body > p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.feat-card-plans {
  margin-top: auto !important;
  padding-top: 8px;
  font-family: Outfit, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--wf-forest) !important;
}

.feat-card-link {
  font-weight: 650;
  font-size: 0.88rem;
  color: var(--wf-red);
  text-decoration: none;
}

.feat-card-link:hover {
  text-decoration: underline;
}

.feat-card-media {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, #143d2c 0%, #0c3223 100%);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
}

.feat-card-chrome {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 10px 6px;
}

.feat-card-chrome i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.feat-card-chrome i:nth-child(1) { background: #ff5f57; }
.feat-card-chrome i:nth-child(2) { background: #febc2e; }
.feat-card-chrome i:nth-child(3) { background: #28c840; }

.feat-card-shot {
  display: block;
  margin: 0 8px 8px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.feat-card-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s var(--wf-ease);
}

.feat-card-media:hover .feat-card-shot img,
.feat-card-media:focus-visible .feat-card-shot img {
  transform: scale(1.045);
}

.feat-card-peek {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(6px);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.95);
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(227, 6, 19, 0.28);
  transition: opacity 0.22s var(--wf-ease), transform 0.22s var(--wf-ease);
}

.feat-card-media:hover .feat-card-peek,
.feat-card-media:focus-visible .feat-card-peek {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (hover: none) {
  .feat-card-peek {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    left: 16px;
    right: auto;
    transform: none;
  }
}

.feat-card--text {
  min-height: 100%;
  background:
    linear-gradient(165deg, rgba(15, 61, 42, 0.05), rgba(255, 255, 255, 0.98) 42%);
}

.feat-card--text .feat-card-body {
  padding-top: 22px;
}

.feat-card-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(15, 61, 42, 0.1);
  color: var(--wf-forest);
  font-size: 1.15rem;
}

.feat-area--plans {
  padding: 28px 22px 8px;
  border-radius: 20px;
  border: 1px solid rgba(15, 61, 42, 0.12);
  background:
    linear-gradient(160deg, rgba(15, 61, 42, 0.06), rgba(255, 255, 255, 0.9) 40%);
}

.feat-area--plans .feat-area-head {
  border-left: 0;
  padding-left: 0;
}

.feat-plan-strip {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
}

@media (min-width: 800px) {
  .feat-plan-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feat-plan-strip > div {
  position: relative;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 61, 42, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(15, 61, 42, 0.05);
}

.feat-plan-strip > div.is-hot {
  z-index: 1;
  border: 2px solid rgba(227, 6, 19, 0.55);
  background:
    linear-gradient(180deg, rgba(227, 6, 19, 0.06), #fff 42%);
  box-shadow:
    0 18px 40px rgba(227, 6, 19, 0.16),
    0 10px 24px rgba(15, 61, 42, 0.08);
}

@media (min-width: 800px) {
  .feat-plan-strip > div.is-hot {
    transform: scale(1.04);
  }
}

.feat-plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #e30613;
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(227, 6, 19, 0.35);
}

.feat-plan-strip h3 {
  margin: 0 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  color: var(--wf-forest);
}

.feat-plan-strip ul {
  margin: 0;
  padding: 0 0 0 1.05rem;
  color: var(--wf-ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.feat-dialog {
  width: min(980px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0 0 1.1rem;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(12, 32, 24, 0.35);
  overflow: auto;
}

.feat-dialog::backdrop {
  background: rgba(8, 24, 18, 0.62);
  backdrop-filter: blur(4px);
}

.feat-dialog-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0.45rem 0.45rem 0;
}

.feat-dialog-close {
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 61, 42, 0.06);
  color: var(--wf-ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.feat-dialog-close:hover {
  background: rgba(227, 6, 19, 0.12);
  color: var(--wf-red);
}

.feat-dialog h2 {
  margin: 0 1.35rem 0.4rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
  color: var(--wf-forest);
}

.feat-dialog-desc {
  margin: 0 1.35rem 1rem;
  color: var(--wf-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.feat-dialog-frame {
  margin: 0 1.1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--wf-line);
  background: #0f3d2a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.feat-dialog-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  object-fit: contain;
  background: #fff;
}

.site-contact-list {
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 20px;
}

.site-contact-list dt {
  font-family: Outfit, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-muted);
  margin: 0 0 4px;
}

.site-contact-list dd {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--wf-ink);
}

.site-contact-list a {
  color: var(--wf-forest);
  font-weight: 600;
  text-decoration: none;
}

.site-contact-list a:hover {
  color: var(--wf-red);
}

.site-shots {
  display: grid;
  gap: 20px;
  margin: 8px 0 0;
}

@media (min-width: 720px) {
  .site-shots {
    grid-template-columns: 1fr 1fr;
  }
}

.site-shots figure {
  margin: 0;
}

.site-shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 61, 42, 0.12);
  box-shadow: 0 16px 36px rgba(15, 61, 42, 0.12);
  background: #fff;
}

.site-shots figcaption {
  margin-top: 8px;
  font-family: Outfit, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wf-muted);
}

.site-price-split {
  display: grid;
  gap: 14px;
  margin: 8px 0 28px;
}

@media (min-width: 700px) {
  .site-price-split {
    grid-template-columns: 1fr 1fr;
  }
}

.site-price-split > div {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: rgba(15, 61, 42, 0.06);
  border: 1px solid rgba(15, 61, 42, 0.1);
}

.site-price-split h2 {
  margin: 0 0 6px;
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
  color: var(--wf-forest);
}

.site-price-split p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.95rem;
}

.site-price-grid {
  display: grid;
  gap: 18px;
  margin: 8px 0 24px;
}

@media (min-width: 720px) {
  .site-price-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (min-width: 1100px) {
  .site-price-grid {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    max-width: 1180px;
  }
}

.site-price {
  padding: 22px 20px 20px;
  border: 1px solid var(--wf-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-price--hot {
  border-color: rgba(227, 6, 19, 0.35);
  box-shadow: 0 12px 28px rgba(15, 61, 42, 0.1);
}

.site-price-badge {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-red);
}

.site-price h2 {
  font-family: Outfit, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wf-forest);
  margin: 0;
}

.site-price-amount {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--wf-ink);
}

.site-price-blurb {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-price ul {
  margin: 4px 0 12px;
  padding: 0 0 0 1.1rem;
  color: var(--wf-ink);
  line-height: 1.5;
  flex: 1;
}

.site-price .btn-suite {
  align-self: flex-start;
}

.site-price-note {
  margin: 0 0 28px;
  font-size: 0.92rem;
  color: var(--wf-muted);
  max-width: 40rem;
}

.price-plan-grid {
  display: grid;
  gap: 18px;
  margin: 12px 0 40px;
}

@media (min-width: 900px) {
  .price-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.price-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  border: 1px solid var(--wf-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 61, 42, 0.06);
}

.price-plan--hot {
  z-index: 1;
  border: 2px solid rgba(227, 6, 19, 0.55);
  background:
    linear-gradient(180deg, rgba(227, 6, 19, 0.07), #fff 38%);
  box-shadow:
    0 20px 44px rgba(227, 6, 19, 0.16),
    0 12px 28px rgba(15, 61, 42, 0.08);
}

@media (min-width: 800px) {
  .price-plan--hot {
    transform: scale(1.045);
  }
}

.price-plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #e30613;
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(227, 6, 19, 0.35);
}

.price-plan h2 {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wf-forest);
}

.price-plan--hot h2 {
  padding-right: 6.5rem;
}

.price-plan-tag {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.price-plan-amount {
  margin: 6px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--wf-ink);
}

.price-plan-amount span {
  display: inline-block;
  margin-left: 0.2rem;
  font: 600 0.78rem Outfit, sans-serif;
  letter-spacing: 0.02em;
  color: var(--wf-muted);
  vertical-align: 0.28em;
}

.price-plan-month {
  margin: 4px 0 0;
  color: var(--wf-forest);
  font: 600 0.92rem Outfit, sans-serif;
}

.price-plan-blurb {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.price-plan ul,
.price-plan-list {
  margin: 10px 0 14px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(15, 61, 42, 0.1);
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--wf-ink);
  flex: 1;
  font-size: 0.92rem;
}

.price-plan-list li {
  position: relative;
  padding-left: 1.15rem;
  line-height: 1.4;
}

.price-plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--wf-red);
  opacity: 0.85;
}

.price-plan .btn-suite {
  align-self: stretch;
  text-align: center;
}

.price-section-title {
  margin: 8px 0 8px;
  font-family: Outfit, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--wf-forest);
}

.price-section-lead {
  margin: 0 0 18px;
  color: var(--wf-muted);
  max-width: 44rem;
}

.price-compare-wrap {
  margin: 8px 0 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--wf-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 61, 42, 0.06);
}

.price-compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.price-compare th,
.price-compare td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--wf-line);
  text-align: left;
  vertical-align: middle;
}

.price-compare thead th {
  background: #0f3d2a;
  color: #fff;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.price-compare thead th:first-child {
  background: #0c3223;
  text-align: left;
  min-width: 16rem;
}

.price-compare thead th.is-hot {
  background: linear-gradient(165deg, #b10510 0%, #e30613 55%, #c50512 100%);
  box-shadow: inset 0 -3px 0 #fff;
  position: relative;
}

.price-compare thead th.is-hot::after {
  content: "Consigliato";
  display: block;
  margin-top: 0.25rem;
  font: 700 0.62rem Outfit, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.price-compare tbody td:nth-child(3) {
  background: rgba(227, 6, 19, 0.04);
}

.price-compare tbody th[scope="row"] {
  font-weight: 650;
  color: var(--wf-ink);
  background: #f7fbf8;
  width: 42%;
}

.price-compare tbody td {
  color: var(--wf-ink);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.price-compare-section th {
  background: rgba(15, 61, 42, 0.08);
  color: var(--wf-forest);
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom-color: rgba(15, 61, 42, 0.15);
}

.pc-section-more {
  float: right;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--wf-red);
  text-decoration: none;
}

.pc-section-more:hover {
  text-decoration: underline;
}

.app-paziente-page .feat-hero {
  margin-bottom: 28px;
}

.app-paziente-page .feat-hero h1 {
  max-width: 16ch;
}

.visibilita-page .feat-hero {
  margin-bottom: 28px;
}

.visibilita-page .feat-hero h1 {
  max-width: 18ch;
}

.visibilita-shot {
  margin: 8px 0 36px;
  max-width: 42rem;
}

.app-paziente-shot {
  margin: 8px 0 36px;
  max-width: 17rem;
}

.app-paziente-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(15, 61, 42, 0.18);
  border: 1px solid rgba(15, 61, 42, 0.12);
}

.app-paziente-grid {
  margin: 8px 0 28px;
}

.app-paziente-grid h2 {
  margin: 0 0 8px;
  font: 700 clamp(1.4rem, 2.2vw, 1.85rem) Fraunces, Georgia, serif;
  color: var(--wf-forest);
}

.app-paziente-grid .site-band-lead {
  margin: 0 0 18px;
  max-width: 40rem;
  color: var(--wf-muted);
}

.app-paziente-note {
  margin-bottom: 28px;
}

@media (min-width: 720px) {
  .app-paziente-grid .site-access--app {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pc-feat-name {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--wf-ink);
  margin-bottom: 0.25rem;
  text-decoration: none;
}

a.pc-feat-name {
  color: var(--wf-forest);
  text-decoration: underline;
  text-decoration-color: rgba(15, 61, 42, 0.25);
  text-underline-offset: 0.18em;
}

a.pc-feat-name:hover {
  color: var(--wf-red);
  text-decoration-color: rgba(227, 6, 19, 0.45);
}

.pc-feat-desc {
  display: block;
  font-weight: 400;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--wf-muted);
}

.feat-detail-page .feat-detail-back {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.feat-detail-page .feat-detail-back a {
  color: var(--wf-forest);
  font-weight: 650;
  text-decoration: none;
}

.feat-detail-page .feat-detail-back a:hover {
  color: var(--wf-red);
}

.feat-detail-plans {
  margin: 0 0 22px;
  font-family: Outfit, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wf-forest);
}

.feat-detail-shot {
  margin: 0 0 24px;
  padding: 10px 10px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #143d2c 0%, #0c3223 100%);
  box-shadow: 0 16px 36px rgba(15, 61, 42, 0.14);
}

.feat-detail-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
}

.feat-detail-body {
  max-width: 42rem;
  margin: 0 0 28px;
  color: var(--wf-ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

.feat-detail-body p {
  margin: 0;
}

.dicta-panel {
  margin: 8px 0 28px;
  padding: 20px 18px;
  border: 1px solid rgba(15, 61, 42, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(15, 61, 42, 0.06);
}

.dicta-status {
  margin: 0 0 14px;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(15, 61, 42, 0.07);
  color: var(--wf-forest);
  font-weight: 650;
  font-size: 0.95rem;
}

.dicta-status.is-live {
  background: rgba(227, 6, 19, 0.1);
  color: var(--wf-red);
}

.dicta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.dicta-label {
  display: block;
  margin: 0 0 6px;
  font-family: Outfit, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.dicta-text {
  width: 100%;
  min-height: 220px;
  padding: 12px 14px;
  border: 1px solid var(--wf-line);
  border-radius: 12px;
  background: #fff;
  color: var(--wf-ink);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.dicta-text:focus {
  outline: 2px solid rgba(26, 122, 69, 0.35);
  outline-offset: 1px;
  border-color: rgba(26, 122, 69, 0.45);
}

.dicta-hint {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: var(--wf-muted);
  font-size: 0.92rem;
  font-style: italic;
}

.dicta-notes {
  margin: 16px 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--wf-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pc-check {
  color: #1a7a45;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}

.pc-yes {
  color: #1a7a45;
  font-weight: 700;
}

.pc-no {
  color: #b0b8c0;
  font-weight: 500;
  font-size: 1.05rem;
}

.price-packs {
  display: grid;
  gap: 28px;
  margin: 8px 0 20px;
}

.price-pack-block h3 {
  margin: 0 0 6px;
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  color: var(--wf-forest);
}

.price-pack-note {
  margin: 0 0 14px;
  color: var(--wf-muted);
  font-size: 0.92rem;
  max-width: 48rem;
}

.price-pack-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 800px) {
  .price-pack-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .price-pack-grid--sms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .price-pack-grid--sms {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.price-pack {
  padding: 18px 16px;
  border: 1px solid var(--wf-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 61, 42, 0.05);
}

.price-pack-qty {
  margin: 0 0 8px;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  color: var(--wf-forest);
  font-size: 1rem;
}

.price-pack-price {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--wf-ink);
}

.price-pack-unit {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--wf-muted);
}

.price-pack-save {
  margin: 8px 0 0;
  font-size: 0.78rem;
  font-weight: 650;
  color: #1a7a45;
}

.price-pack-cta-note {
  margin: 8px 0 16px;
  color: var(--wf-muted);
  font-size: 0.92rem;
}

.site-contact-layout {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

@media (min-width: 860px) {
  .site-contact-layout {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }
}

.site-muted {
  color: var(--wf-muted, #5a6b78);
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-lead-panel {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--wf-line);
  background: rgba(255, 255, 255, 0.9);
}

.site-lead-title {
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wf-forest);
  margin: 0 0 14px;
}

.site-lead-form {
  display: grid;
  gap: 12px;
}

.site-lead-form label {
  display: grid;
  gap: 6px;
  font-family: Outfit, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wf-muted);
}

.site-lead-form input,
.site-lead-form textarea {
  width: 100%;
  border: 1.5px solid rgba(15, 61, 42, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: var(--wf-ink);
  background: #fff;
}

.site-lead-form input:focus,
.site-lead-form textarea:focus {
  outline: 2px solid rgba(26, 122, 69, 0.35);
  border-color: var(--wf-green);
}

.site-lead-form .btn-suite {
  margin-top: 6px;
  justify-self: start;
}

.site-lead-privacy {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--wf-muted);
}

.site-lead-privacy a {
  color: var(--wf-forest);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-field-err,
.site-lead-err {
  color: #b42318;
  font-size: 0.88rem;
  margin: 0;
}

.site-lead-ok h2 {
  font-family: Fraunces, Georgia, serif;
  color: var(--wf-forest);
  margin: 0 0 8px;
}

.site-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ——— Marketing site shell ——— */
body.shell-site:not(.site-studio) .header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(15, 61, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 61, 42, 0.05);
}

body.shell-site:not(.site-studio) .nav > a:not(.btn-accesso) {
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--wf-forest);
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.shell-site:not(.site-studio) .nav > a:not(.btn-accesso):hover,
body.shell-site:not(.site-studio) .nav > a.active:not(.btn-accesso) {
  color: var(--wf-red);
  border-bottom-color: rgba(227, 6, 19, 0.55);
}

body.shell-site .site-page {
  padding-top: clamp(28px, 5vh, 48px);
  padding-bottom: clamp(40px, 7vh, 72px);
}

body.shell-site .suite-footer {
  background:
    radial-gradient(700px 220px at 15% 0%, rgba(227, 6, 19, 0.16), transparent 60%),
    linear-gradient(165deg, #0c3223 0%, #0f3d2a 55%, #0a241c 100%);
  padding: 28px 0 22px;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
}

body.shell-site .suite-footer .container {
  display: grid;
  gap: 6px;
  max-width: 1120px;
}

body.shell-site .suite-footer h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  margin: 0 0 6px;
}

body.shell-site .suite-footer-legal,
body.shell-site .suite-footer-copy {
  margin-top: 10px !important;
  font-size: 0.85rem;
}

/* ——— Landing C-studio: foto studio full-bleed + brand ——— */
body.site-studio {
  --wf-wash: #eef3ef;
}

body.site-studio .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: linear-gradient(180deg, rgba(8, 20, 16, 0.42), transparent 88%);
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
}

body.site-studio .header-content {
  padding: 16px 0;
}

body.site-studio.suite.shell-site .preview-banner ~ .header,
body.site-studio .preview-banner + .header {
  top: auto;
}

body.site-studio .header .nav > a:not(.btn-accesso) {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  border-bottom-color: transparent;
}

body.site-studio .header .nav > a:not(.btn-accesso):hover,
body.site-studio .header .nav > a.active:not(.btn-accesso) {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

body.site-studio .logo {
  padding: 8px 16px 8px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

body.site-studio .logo-img {
  filter: none;
  height: 54px;
  max-width: 240px;
}

body.site-studio .btn-accesso {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.hero-studio {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0f3d2a;
  animation: heroIn 0.85s var(--wf-ease) both;
}

.hero-studio-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-studio-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  transform: scale(1.02);
  animation: studioDrift 14s ease-in-out alternate both;
}

.hero-studio-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 28, 20, 0.88) 0%, rgba(15, 61, 42, 0.62) 36%, rgba(15, 61, 42, 0.18) 62%, transparent 82%),
    linear-gradient(180deg, rgba(8, 20, 16, 0.55) 0%, rgba(8, 20, 16, 0.08) 38%, rgba(8, 20, 16, 0.72) 100%);
}

.hero-studio-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: min(700px, 100%);
  margin-top: clamp(-48px, -6vh, -20px);
  padding:
    clamp(96px, 14vh, 132px)
    clamp(24px, 5vw, 56px)
    clamp(36px, 7vh, 64px);
  color: #fff;
  animation: studioCopyIn 0.9s var(--wf-ease) both;
  animation-delay: 0.1s;
}

.hero-studio-brand {
  margin: 0 0 18px;
  max-width: 100%;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.42);
  overflow-wrap: normal;
  white-space: nowrap;
}

.hero-studio-brand::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e30613, rgba(227, 6, 19, 0.15));
}

.hero-studio-copy h1 {
  margin: 0 0 18px;
  max-width: 15ch;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.hero-studio-foot {
  margin: 0 0 28px;
  max-width: 30rem;
  font-size: clamp(1.02rem, 1.45vw, 1.14rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-studio-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

@keyframes studioDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-1%, -0.5%, 0); }
}

@keyframes studioCopyIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .hero-studio {
    min-height: min(100dvh, 820px);
    align-items: flex-end;
  }

  .hero-studio-media img {
    object-position: 70% 40%;
  }

  .hero-studio-copy {
    margin-top: 0;
    padding-bottom: 48px;
  }

  .hero-studio-brand {
    white-space: normal;
    font-size: clamp(2.6rem, 11vw, 3.4rem);
  }

  .hero-studio-copy h1 {
    max-width: none;
    font-size: clamp(1.28rem, 4.5vw, 1.6rem);
  }

  .hero-studio-foot {
    margin-bottom: 22px;
  }

  body.site-studio .header .nav > a:not(.btn-accesso) {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  }
}

body.site-studio .site-band--cta {
  background:
    radial-gradient(800px 280px at 12% 0%, rgba(227, 6, 19, 0.22), transparent 55%),
    linear-gradient(165deg, #0f3d2a, #062418);
}

.btn-ghost--on-dark {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.1);
  text-shadow: none;
  backdrop-filter: blur(6px);
}

.btn-ghost--on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff !important;
  color: #fff !important;
}

.site-proof {
  background:
    linear-gradient(90deg, #0c3223, #0f3d2a 40%, #134a32);
  color: rgba(255, 255, 255, 0.92);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-proof-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  text-align: center;
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.site-proof-inner p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-proof-inner strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-proof-inner span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
}

.site-timeline {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: none;
}

@media (min-width: 800px) {
  .site-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.site-timeline li {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: 18px;
  background: var(--wf-surface);
  border: 1px solid rgba(15, 61, 42, 0.1);
  box-shadow: var(--wf-shadow);
  animation: studioCopyIn 0.7s var(--wf-ease) both;
  overflow: hidden;
}

.site-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #e30613, rgba(47, 158, 91, 0.65));
}

.site-timeline li:nth-child(2) { animation-delay: 0.08s; }
.site-timeline li:nth-child(3) { animation-delay: 0.16s; }
.site-timeline li:nth-child(4) { animation-delay: 0.24s; }

.site-timeline-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--wf-red);
  color: #fff;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(227, 6, 19, 0.25);
}

.site-timeline h3 {
  margin: 0 0 6px;
  font-family: Outfit, sans-serif;
  font-size: 1.08rem;
  color: var(--wf-forest);
}

.site-timeline p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-compare {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .site-compare {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.site-compare li {
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--wf-surface);
  border: 1px solid rgba(15, 61, 42, 0.1);
  box-shadow: 0 12px 28px rgba(15, 61, 42, 0.06);
  transition: transform 0.25s var(--wf-ease), box-shadow 0.25s ease;
}

.site-compare li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 61, 42, 0.1);
}

.site-compare--win {
  background: linear-gradient(160deg, #0f3d2a 0%, #1a7a45 120%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 22px 48px rgba(15, 61, 42, 0.28);
  transform: translateY(-4px);
}

.site-compare--win:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(15, 61, 42, 0.32);
}

.site-compare-label {
  margin: 0 0 8px;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.site-compare--win .site-compare-label {
  color: rgba(255, 255, 255, 0.72);
}

.site-compare h3 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.28rem;
  color: var(--wf-forest);
}

.site-compare--win h3 {
  color: #fff;
}

.site-compare p:last-child {
  margin: 0;
  color: var(--wf-muted);
  line-height: 1.5;
}

.site-compare--win p:last-child {
  color: rgba(255, 255, 255, 0.9);
}

.site-band--wow {
  position: relative;
}

.site-pillars--wow li {
  padding: 18px 18px 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 61, 42, 0.1);
  border-left: 4px solid var(--wf-red);
  box-shadow: 0 14px 30px rgba(15, 61, 42, 0.08);
  transition: transform 0.25s var(--wf-ease), box-shadow 0.25s ease;
}

.site-pillars--wow li:nth-child(2) { border-left-color: var(--wf-green); }
.site-pillars--wow li:nth-child(3) { border-left-color: var(--wf-sky); }

.site-pillars--wow li:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 61, 42, 0.14);
}

.site-band-inner--wide {
  width: min(1080px, 100%);
}

.site-shots--wow {
  gap: 18px;
}

@media (min-width: 900px) {
  .site-shots--wow {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
  }
  .site-shots--wow .site-shot--hero {
    grid-row: 1 / span 2;
  }
}

.site-shots--wow figure {
  position: relative;
  transition: transform 0.35s var(--wf-ease);
}

.site-shots--wow img {
  border-radius: 18px;
  box-shadow:
    0 24px 50px rgba(15, 61, 42, 0.18),
    0 0 0 1px rgba(15, 61, 42, 0.08);
  transition: transform 0.4s var(--wf-ease), box-shadow 0.4s ease;
}

.site-shots--wow figure:hover img {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 32px 60px rgba(15, 61, 42, 0.24),
    0 0 0 1px rgba(227, 6, 19, 0.18);
}

.site-shots--wow .site-shot--hero img {
  min-height: 100%;
  object-fit: cover;
  object-position: top left;
}

.site-doors-band {
  background:
    linear-gradient(180deg, rgba(15, 61, 42, 0.04), rgba(238, 243, 239, 0.9) 40%, #eef3ef);
}

.site-doors {
  display: grid;
  gap: 0;
  margin: 10px 0 28px;
  border-top: 1px solid rgba(15, 61, 42, 0.14);
  border-bottom: 1px solid rgba(15, 61, 42, 0.14);
}

@media (min-width: 860px) {
  .site-doors {
    grid-template-columns: 1fr 1fr;
  }
}

.site-door {
  padding: clamp(28px, 4vw, 40px) clamp(18px, 3vw, 36px);
}

@media (min-width: 860px) {
  .site-door--sci {
    border-right: 1px solid rgba(15, 61, 42, 0.14);
    padding-left: 0;
  }

  .site-door--studio {
    padding-right: 0;
  }
}

.site-door-kicker {
  margin: 0 0 10px;
  font: 700 0.78rem Outfit, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.site-door--studio .site-door-kicker {
  color: var(--wf-red);
}

.site-door h3 {
  margin: 0 0 12px;
  font: 700 clamp(1.55rem, 2.6vw, 2rem) / 1.1 Fraunces, Georgia, serif;
  letter-spacing: -0.03em;
  color: var(--wf-forest);
}

.site-door-text {
  margin: 0 0 18px;
  max-width: 34rem;
  color: var(--wf-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.site-door ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-door li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--wf-ink);
  font-size: 0.98rem;
  line-height: 1.4;
}

.site-door li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--wf-forest);
}

.site-door--studio li::before {
  background: var(--wf-red);
}

.site-access {
  display: grid;
  gap: 14px;
  margin: 8px 0 8px;
}

@media (min-width: 720px) {
  .site-access {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-access--app {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .site-access--app {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.site-access article {
  background: #fff;
  border: 1px solid rgba(15, 61, 42, 0.1);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 12px 28px rgba(15, 61, 42, 0.06);
}

.site-band--wow .site-access article {
  background: rgba(255, 255, 255, 0.9);
}

.site-access h3 {
  margin: 0 0 8px;
  font: 700 1.05rem Outfit, sans-serif;
  color: var(--wf-forest);
}

.site-access p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.site-why {
  display: grid;
  gap: 14px;
  margin: 8px 0 0;
}

@media (min-width: 700px) {
  .site-why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .site-why {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-why article {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 61, 42, 0.1);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 61, 42, 0.06);
}

.site-why-note {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(15, 61, 42, 0.14);
  background:
    linear-gradient(135deg, rgba(15, 61, 42, 0.06), rgba(255, 255, 255, 0.92));
}

.site-why-note h3 {
  margin: 0 0 6px;
  font: 700 1.05rem Outfit, sans-serif;
  color: var(--wf-forest);
}

.site-why-note p {
  margin: 0 0 10px;
  max-width: 46rem;
  color: var(--wf-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.site-why-note p:last-child {
  margin-bottom: 0;
}

.site-why-note-tag {
  margin-top: 4px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 61, 42, 0.12);
  color: var(--wf-forest) !important;
  font-weight: 600;
  font-size: 0.95rem !important;
}

.site-why h3 {
  margin: 0 0 6px;
  font: 700 1.02rem Outfit, sans-serif;
  color: var(--wf-forest);
}

.site-why p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.site-home-plans {
  display: grid;
  gap: 16px;
  margin: 8px 0 22px;
  align-items: stretch;
}

@media (min-width: 800px) {
  .site-home-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-home-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 61, 42, 0.12);
  border-radius: 16px;
  padding: 22px 20px 20px;
}

.site-home-plan--hot {
  z-index: 1;
  border: 2px solid rgba(227, 6, 19, 0.55);
  background:
    linear-gradient(180deg, rgba(227, 6, 19, 0.07), #fff 38%);
  box-shadow:
    0 20px 44px rgba(227, 6, 19, 0.16),
    0 12px 28px rgba(15, 61, 42, 0.08);
}

@media (min-width: 800px) {
  .site-home-plan--hot {
    transform: scale(1.045);
  }
}

.site-home-plan-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--wf-red);
  color: #fff;
  font: 700 0.74rem Outfit, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(227, 6, 19, 0.35);
}

.site-home-plan h3 {
  margin: 0 0 4px;
  font: 700 1.25rem Fraunces, Georgia, serif;
  color: var(--wf-forest);
}

.site-home-plan--hot h3 {
  padding-right: 5.5rem;
}

.site-home-plan-tagline {
  margin: 0 0 14px;
  color: var(--wf-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.site-home-plan-price {
  margin: 0;
  font: 700 1.7rem Fraunces, Georgia, serif;
  color: var(--wf-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-home-plan-price span {
  display: inline-block;
  margin-left: 0.2rem;
  font: 600 0.78rem Outfit, sans-serif;
  letter-spacing: 0.02em;
  color: var(--wf-muted);
  vertical-align: 0.28em;
}

.site-home-plan-month {
  margin: 6px 0 0;
  color: var(--wf-forest);
  font: 600 0.92rem Outfit, sans-serif;
}

.site-home-plan-list {
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(15, 61, 42, 0.1);
  list-style: none;
  display: grid;
  gap: 8px;
  flex: 1;
}

.site-home-plan-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--wf-ink);
  font-size: 0.92rem;
  line-height: 1.4;
}

.site-home-plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--wf-red);
  opacity: 0.85;
}

body.site-product .site-band--cta {
  background:
    radial-gradient(900px 360px at 20% 0%, rgba(227, 6, 19, 0.28), transparent 60%),
    radial-gradient(700px 300px at 90% 100%, rgba(47, 158, 91, 0.22), transparent 55%),
    linear-gradient(165deg, #062418 0%, #0f3d2a 48%, #0a1f36 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: #fff;
  flex-shrink: 0;
  border-bottom: 1px solid var(--wf-line);
}

body.shell-app .header {
  border-bottom: 1px solid var(--wf-line);
}

body.shell-app .header .container {
  max-width: none;
  padding: 0 28px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

body.shell-app .header-content {
  padding: 8px 0;
}

body.shell-app .logo-img,
body.shell-auth .logo-img,
body.shell-legal .logo-img {
  height: 40px;
}

body.shell-auth .header-content,
body.shell-legal .header-content {
  padding: 8px 0;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav a, .nav button.nav-link-btn {
  text-decoration: none;
  color: var(--wf-ink);
  margin-left: 0;
  font-weight: 600;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.nav a:hover, .nav button.nav-link-btn:hover,
.nav a.active {
  color: var(--wf-red);
}

.btn-accesso {
  color: #fff !important;
  background: var(--wf-red) !important;
  margin-left: 10px !important;
  padding: 11px 22px !important;
  border-radius: 999px;
  font-family: Outfit, sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1.1;
  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-accesso:hover {
  background: #c50512 !important;
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.36);
  transform: translateY(-1px);
}

.btn-logout {
  color: #fff !important;
  background: var(--wf-ink) !important;
  padding: 8px 16px !important;
  border-radius: 999px;
}

.hero-section {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 32px 20px;
  overflow: hidden;
  background: transparent;
}

.hero-section--sell {
  padding: clamp(18px, 3vh, 36px) 20px clamp(28px, 4vh, 48px);
  justify-content: center;
}

.hero-stage {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.15fr);
  min-height: min(560px, calc(100dvh - 180px));
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(15, 61, 42, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.5) inset;
  animation: heroIn 0.75s var(--wf-ease) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel--brand {
  background:
    radial-gradient(520px 320px at 18% 12%, rgba(227, 6, 19, 0.42), transparent 58%),
    radial-gradient(480px 300px at 88% 80%, rgba(47, 158, 91, 0.38), transparent 62%),
    linear-gradient(155deg, #06160f 0%, #0f3d2a 46%, #0a2a4d 100%);
  color: #f4faf6;
  overflow: hidden;
}

.hero-panel--brand::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 5px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, var(--wf-red), #ff8a3d);
  box-shadow: 0 0 24px rgba(227, 6, 19, 0.45);
}

.hero-leaf {
  position: absolute;
  inset: -10% -20% -20% -10%;
  background:
    repeating-linear-gradient(
      -28deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.035) 18px 19px
    );
  opacity: 0.9;
  animation: leafDrift 14s linear infinite;
  pointer-events: none;
}

@keyframes leafDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(18px, -12px, 0); }
}

.hero-panel--copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, #f7fbf8, #f3ebe3);
  color: var(--wf-ink);
  text-align: left;
}

.hero-logo {
  display: block;
  width: min(280px, 72%);
  height: auto;
  margin: 0 auto 20px;
  padding: 16px 22px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
}

.hero-logo--on-dark {
  position: relative;
  z-index: 1;
  width: min(200px, 70%);
  margin: 0 0 22px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.hero-brand-mark {
  position: relative;
  z-index: 1;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  line-height: 1.1;
}

.hero-brand-note {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 16rem;
  color: rgba(244, 250, 246, 0.78);
  font-size: 1rem;
  line-height: 1.45;
}

.hero-eyebrow {
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wf-red);
  margin: 0 0 14px !important;
}

.hero-panel--copy h1,
.hero-content h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--wf-forest);
}

.hero-lead,
.hero-content p {
  font-size: 1.08rem;
  margin: 0 0 26px;
  font-weight: 500;
  line-height: 1.55;
  max-width: 28rem;
  color: var(--wf-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--wf-forest);
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(15, 61, 42, 0.18);
  transition: transform 0.2s var(--wf-ease), background 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(15, 61, 42, 0.35);
  color: var(--wf-forest);
}

.hero-areas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 26px !important;
  max-width: none;
}

.hero-chip {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1.2;
}

.hero-chip--lab {
  background: #c5d4ea;
  color: #1A4A8A;
}
.hero-chip--studio {
  background: #c8f5dc;
  color: #1e8a4c;
}
.hero-chip--mkt {
  background: #a8d8f5;
  color: #1d6fa8;
}
.hero-chip--learn {
  background: #ffc878;
  color: #d97700;
}

@media (max-width: 860px) {
  .hero-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-panel--brand {
    min-height: 220px;
  }
}

.how-it-works-section {
  padding: 40px 0;
  text-align: center;
  background: transparent;
  flex: 1;
}

.how-it-works-section h2 {
  font-family: Outfit, sans-serif;
  font-size: 24px;
  color: var(--wf-green);
  margin-bottom: 28px;
}

.app-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.app-nav {
  background: rgba(255, 255, 255, 0.78);
  color: var(--wf-ink);
  padding: 18px 16px;
  border-right: 1px solid rgba(213, 232, 220, 0.85);
  overflow-y: auto;
}

.app-nav-label {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wf-muted);
  margin: 0 0 18px 12px;
}

.app-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-nav li { margin-bottom: 4px; }

.app-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--wf-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 12px;
  transition: background 0.18s ease, color 0.18s ease;
}

.app-nav a i { width: 22px; text-align: center; color: var(--wf-green); font-size: 17px; }

.app-nav a:hover {
  background: rgba(26, 122, 69, 0.08);
  color: var(--wf-ink);
}

.app-nav a.active {
  background: rgba(26, 122, 69, 0.12);
  color: var(--wf-green);
  box-shadow: none;
}

.app-nav a.active i { color: var(--wf-green); }

.header-datetime {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 0 8px;
  color: var(--wf-muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
}

.header-datetime i { color: var(--wf-green); }

.app-main {
  padding: 16px 28px 16px;
  background: transparent;
  display: flex;
  justify-content: stretch;
  min-height: 0;
  overflow: auto;
}

.app-main:has(.hub-grid) {
  overflow: auto;
  align-items: flex-start;
}

.hub-page {
  width: 100%;
  max-width: none;
}

.app-main:has(.hub-grid) .hub-page,
.app-main:has(.hub-page--sell) .hub-page {
  width: 100%;
  max-width: 980px;
}

body.shell-app:has(.hub-page--sell) .app-nav {
  background: #0f3d2a;
  border-right: none;
  color: #f4faf6;
}

body.shell-app:has(.hub-page--sell) .app-nav-label {
  color: rgba(244, 250, 246, 0.55);
}

body.shell-app:has(.hub-page--sell) .app-nav a {
  color: rgba(244, 250, 246, 0.88);
}

body.shell-app:has(.hub-page--sell) .app-nav a i {
  color: #7ddea4;
}

body.shell-app:has(.hub-page--sell) .app-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.shell-app:has(.hub-page--sell) .app-nav a.active {
  background: var(--wf-red);
  color: #fff;
}

body.shell-app:has(.hub-page--sell) .app-nav a.active i {
  color: #fff;
}

.hub-page--sell {
  animation: heroIn 0.55s var(--wf-ease) both;
}

.hub-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 18px;
}

.hub-welcome h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--wf-ink);
  margin: 0 0 8px;
}

.hub-welcome--rich {
  position: relative;
  padding: 22px 22px 22px 26px;
  border-radius: 24px;
  background:
    radial-gradient(520px 220px at 90% 10%, rgba(227, 6, 19, 0.45), transparent 55%),
    linear-gradient(125deg, #071f16 0%, #0f3d2a 42%, #123f66 100%);
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(7, 31, 22, 0.28);
  overflow: hidden;
}

.hub-welcome--compact {
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 10px;
  padding: 10px 14px 10px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(7, 31, 22, 0.18);
}

.hub-welcome--compact::before {
  width: 4px;
}

.hub-welcome--compact h1,
.hub-welcome--compact .hub-welcome-text h1 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
  text-shadow: none;
}

.hub-welcome--compact .hub-next {
  margin: 2px 0 0;
  font-size: 0.82rem;
  line-height: 1.3;
}

.hub-welcome--rich::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--wf-red);
}

.hub-eyebrow {
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-green);
  margin: 0 0 6px;
}

.hub-welcome--rich .hub-eyebrow {
  color: #ffd7a8;
}

.hub-welcome--rich h1,
.hub-welcome--rich .hub-welcome-text h1 {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hub-next {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

.hub-welcome--rich .hub-next,
.hub-welcome--rich .hub-next span,
.hub-welcome--rich .hub-next em {
  color: rgba(255, 255, 255, 0.82);
}

.hub-next strong { color: var(--wf-ink); }
.hub-welcome--rich .hub-next strong { color: #ffffff; }

.hub-next span,
.hub-next em {
  display: inline-block;
  margin-left: 0.35rem;
  font-style: normal;
  color: var(--wf-muted);
}

.hub-next--empty { opacity: 0.95; }

.hub-plan {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px 28px;
  align-items: center;
  margin: 0 0 20px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--wf-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(28, 43, 54, 0.06);
  animation: mktIn 0.55s var(--wf-ease) both;
}

.hub-plan--ok {
  border-color: #bfe8cf;
  background:
    radial-gradient(380px 160px at 0% 0%, rgba(30, 138, 76, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.92);
}

.hub-plan--in-scadenza {
  border-color: #f0d878;
  background:
    radial-gradient(380px 160px at 0% 0%, rgba(212, 160, 23, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.92);
}

.hub-plan--scaduto {
  border-color: #f0c0c4;
  background:
    radial-gradient(380px 160px at 0% 0%, rgba(227, 6, 19, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.92);
}

.hub-plan__kicker {
  margin: 0 0 4px;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-muted);
}

.hub-plan--ok .hub-plan__kicker { color: #1e8a4c; }
.hub-plan--in-scadenza .hub-plan__kicker { color: #8a6d00; }
.hub-plan--scaduto .hub-plan__kicker { color: var(--wf-red); }

.hub-plan h2 {
  margin: 0 0 6px;
  font-family: Outfit, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wf-ink);
  line-height: 1.2;
}

.hub-plan__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  color: var(--wf-muted);
  font-size: 0.95rem;
}

.hub-plan__meta strong { color: var(--wf-ink); font-weight: 700; }

.hub-plan__meta em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef6f0;
  color: #1e8a4c;
}

.hub-plan--in-scadenza .hub-plan__meta em {
  background: #fff6d6;
  color: #8a6d00;
}

.hub-plan--scaduto .hub-plan__meta em {
  background: #fde8ea;
  color: var(--wf-red);
}

.hub-plan__cta p {
  margin: 0 0 12px;
  color: var(--wf-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hub-plan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.hub-plan__actions .btn-suite {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.hub-plan__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--wf-ink);
  font-weight: 650;
  font-size: 0.9rem;
}

.hub-plan__link:hover { color: var(--wf-red); }
.hub-plan__link i { color: var(--wf-red); font-size: 0.85rem; }

@media (max-width: 820px) {
  .hub-plan {
    grid-template-columns: 1fr;
  }
}

.hub-plan--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: none;
  animation: none;
}

.hub-plan--compact .hub-plan__line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 0.82rem;
  color: var(--wf-muted);
  min-width: 0;
}

.hub-plan--compact .hub-plan__kicker {
  margin: 0;
  font-size: 0.65rem;
}

.hub-plan--compact .hub-plan__name {
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--wf-ink);
}

.hub-plan--compact .hub-plan__meta-inline {
  color: var(--wf-muted);
}

.hub-plan--compact .hub-plan__line em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef6f0;
  color: #1e8a4c;
}

.hub-plan--compact.hub-plan--in-scadenza .hub-plan__line em {
  background: #fff6d6;
  color: #8a6d00;
}

.hub-plan--compact.hub-plan--scaduto .hub-plan__line em {
  background: #fde8ea;
  color: var(--wf-red);
}

.hub-plan__actions--compact {
  gap: 8px 12px;
}

.hub-plan__actions--compact .hub-plan__link {
  font-size: 0.8rem;
}

.hub-agenda--bottom {
  margin-top: 22px;
  margin-bottom: 0;
}

.btn-agenda {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: var(--wf-red);
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.35);
  transition: transform 0.2s var(--wf-ease), background 0.2s ease;
}

.btn-agenda--sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.28);
}

.btn-agenda:hover {
  color: #fff;
  background: #c40512;
  transform: translateY(-2px);
}

.hub-agenda--lead {
  margin-top: 0;
  margin-bottom: 22px;
  border: 1px solid rgba(215, 229, 220, 0.95);
  box-shadow: 0 10px 30px rgba(28, 43, 54, 0.05);
}

.hub-agenda--rich {
  border: none;
  border-left: 6px solid var(--wf-red);
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 31, 22, 0.1);
}

.hub-agenda--rich .hub-agenda-head h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.hub-section-label {
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-muted);
  margin: 0 0 10px;
}

.hub-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.hub-door {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  border-radius: 24px;
  text-decoration: none;
  color: #fff;
  border: none;
  box-shadow: 0 18px 40px rgba(7, 31, 22, 0.18);
  transition: transform 0.25s var(--wf-ease), box-shadow 0.25s ease;
  min-height: 150px;
  overflow: hidden;
}

.hub-door:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 50px rgba(7, 31, 22, 0.28);
  color: #fff;
}

.hub-door--rich.hub-door--lab {
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(145deg, #0f4c81 0%, #1a6fb2 55%, #0d3d66 100%);
  color: #fff;
}

.hub-door--rich.hub-door--studio {
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(145deg, #0b6b3a 0%, #15964f 55%, #0a4d2c 100%);
  color: #fff;
}

.hub-door-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: Outfit, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hub-door-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: none;
}

.hub-door--lab .hub-door-icon,
.hub-door--studio .hub-door-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hub-door-copy { flex: 1; min-width: 0; padding-right: 8px; }

.hub-door-copy h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

.hub-door-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  opacity: 1;
  font-size: 0.98rem;
  line-height: 1.35;
}

.hub-door-go {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--wf-ink);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s var(--wf-ease), color 0.2s ease;
}

.hub-door:hover .hub-door-go {
  background: var(--wf-red);
  color: #fff;
  transform: translateX(4px);
}

.hub-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hub-door--locked {
  opacity: 0.78;
  border-style: dashed;
}

.hub-door--locked .hub-door-badge {
  background: rgba(15, 61, 42, 0.12);
  color: var(--wf-muted);
}

.hub-sec-link--locked {
  opacity: 0.72;
  border-style: dashed;
}

.app-nav-locked {
  opacity: 0.75;
  color: var(--wf-muted) !important;
}

.hub-sec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--wf-forest);
  background: #fff;
  border: 1.5px solid rgba(15, 61, 42, 0.12);
  box-shadow: 0 8px 18px rgba(7, 31, 22, 0.06);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--wf-ease);
}

.hub-sec-link:hover {
  color: #fff;
  background: var(--wf-forest);
  border-color: var(--wf-forest);
  transform: translateY(-2px);
}

.hub-sec-link i { color: var(--wf-red); }
.hub-sec-link:hover i { color: #fff; }

.hub-sec-badge {
  margin-left: 6px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fde8ea;
  color: var(--wf-red);
}

.hub-sec-link:hover .hub-sec-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hub-access-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
}

.hub-access-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hub-access-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: 12px 16px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--wf-line);
  background: #fff;
}

.hub-access-list li.is-live {
  border-color: #bfe8cf;
  background: #f3fbf6;
}

.hub-access-who {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  min-width: 0;
}

.hub-access-who strong {
  font-family: Outfit, sans-serif;
  font-size: 0.98rem;
  color: var(--wf-ink);
}

.hub-access-who em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f8ef;
  color: #1e8a4c;
}

.hub-access-list time {
  color: var(--wf-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.hub-access-dur {
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--wf-ink);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .hub-access-list li {
    grid-template-columns: 1fr auto;
  }
  .hub-access-list time {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hub-welcome { flex-direction: column; }
  .hub-doors { grid-template-columns: 1fr; }
}

.hub-header {
  margin-bottom: 14px;
  text-align: left;
  flex-shrink: 0;
}

.hub-kicker {
  font-family: Outfit, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-red);
  margin: 0 0 8px;
}

.hub-header h1 {
  font-family: Outfit, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--wf-ink);
  margin: 0 0 4px;
}

.hub-header p {
  color: var(--wf-muted);
  font-size: 15px;
  margin: 0;
  max-width: 820px;
  line-height: 1.35;
}

.hub-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  align-items: stretch;
}

.hub-status > div,
.hub-status > a {
  background: #fff;
  border: 2px solid var(--wf-line);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--wf-ink);
}

.hub-status span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--wf-muted);
  margin-bottom: 6px;
}

.hub-status strong {
  font-family: Outfit, sans-serif;
  font-size: 28px;
  color: var(--wf-green);
}

.hub-status > a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  color: var(--wf-green);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hub-card {
  position: relative;
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 20px;
  padding: 14px 48px 14px 16px;
  text-decoration: none;
  color: var(--wf-ink);
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(44, 62, 80, 0.12);
}

.hub-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.hub-card-kicker { display: none; }

.hub-card-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 0;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  border: 2px solid currentColor;
}

.hub-card h2 {
  font-family: Outfit, sans-serif;
  font-size: 20px;
  margin: 0;
}

.hub-card p {
  margin: 0 0 6px 48px;
  color: var(--wf-ink);
  font-size: 14px;
  line-height: 1.35;
}

.hub-card-points {
  list-style: none;
  margin: 0 36px 0 48px;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
}

.hub-card-points li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.hub-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.hub-card-go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: #fff;
}

.hub-card--lab {
  background: #c5d4ea;
  color: #1A4A8A;
  border-color: #1A4A8A;
}
.hub-card--lab h2,
.hub-card--lab .hub-card-icon,
.hub-card--lab .hub-card-go { color: #1A4A8A; }
.hub-card--lab .hub-card-icon,
.hub-card--lab .hub-card-go {
  background: #fff;
  border-color: #1A4A8A;
}
.hub-card--lab p { color: #1A4A8A; }

.hub-card--studio {
  background: #c8f5dc;
  color: #1e8a4c;
  border-color: #1e8a4c;
}
.hub-card--studio h2,
.hub-card--studio .hub-card-icon,
.hub-card--studio .hub-card-go { color: #1e8a4c; }
.hub-card--studio .hub-card-icon,
.hub-card--studio .hub-card-go {
  background: #fff;
  border-color: #1e8a4c;
}

.hub-card--data {
  background: #a8d8f5;
  color: #1d6fa8;
  border-color: #1d6fa8;
}
.hub-card--data h2,
.hub-card--data .hub-card-icon,
.hub-card--data .hub-card-go { color: #1d6fa8; }
.hub-card--data .hub-card-icon,
.hub-card--data .hub-card-go {
  background: #fff;
  border-color: #1d6fa8;
}

.hub-card--learn {
  background: #ffc878;
  color: #d97700;
  border-color: #d97700;
}
.hub-card--learn h2,
.hub-card--learn .hub-card-icon,
.hub-card--learn .hub-card-go { color: #d97700; }
.hub-card--learn .hub-card-icon,
.hub-card--learn .hub-card-go {
  background: #fff;
  border-color: #d97700;
}

.hub-card--links {
  padding-right: 28px;
  cursor: default;
}

.hub-card--links:hover {
  transform: none;
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
}

.hub-mkt-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 0 48px;
}

.hub-mkt-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  text-align: center;
  padding: 8px 4px 7px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hub-mkt-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(44, 62, 80, 0.12);
}

.hub-mkt-icon span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 2px solid currentColor;
  flex-shrink: 0;
}

.hub-mkt-icon em {
  font-style: normal;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.15;
}

.hub-mkt-icon--lab {
  background: #c5d4ea;
  border-color: #1A4A8A;
  color: #1A4A8A;
}
.hub-mkt-icon--lab span {
  color: #1A4A8A;
  background: #fff;
  border-color: #1A4A8A;
}
.hub-mkt-icon--lab em { color: #1A4A8A; }

.hub-mkt-icon--studio {
  background: #c8f5dc;
  border-color: #1e8a4c;
  color: #1e8a4c;
}
.hub-mkt-icon--studio span {
  color: #1e8a4c;
  background: #fff;
  border-color: #2ecc71;
}
.hub-mkt-icon--studio em { color: #1e8a4c; }

.hub-mkt-icon--shop {
  background: #ffe566;
  border-color: #d4a017;
  color: #8a6d00;
}
.hub-mkt-icon--shop span {
  color: #8a6d00;
  background: #fff;
  border-color: #d4a017;
}
.hub-mkt-icon--shop em { color: #8a6d00; }

.hub-agenda {
  margin-top: 18px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
  padding: 14px 18px 12px;
}

.hub-agenda-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hub-agenda h2 {
  font-family: Outfit, sans-serif;
  font-size: 17px;
  color: #1e8a4c;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-agenda-link {
  color: #1e8a4c;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.hub-agenda-link:hover { color: var(--wf-red); }

.hub-agenda-empty {
  margin: 4px 0 2px;
  color: var(--wf-muted);
  font-size: 14px;
}

.hub-agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
}

.hub-agenda-list li {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid var(--wf-line);
  font-size: 14px;
}

.hub-agenda-list time {
  color: var(--wf-muted);
  font-weight: 600;
  text-transform: capitalize;
  padding-top: 2px;
}

.hub-agenda-body {
  min-width: 0;
}

.hub-agenda-list strong {
  display: block;
  color: var(--wf-ink);
  font-weight: 700;
}

.hub-agenda-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--wf-muted);
}

.hub-agenda-extra em {
  font-style: normal;
  font-weight: 600;
  color: #1e8a4c;
}

.hub-agenda-extra i {
  font-style: normal;
}

@media (max-width: 640px) {
  .hub-agenda-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.access-log {
  margin-top: 22px;
  background: #fff;
  border: 2px solid var(--wf-line);
  border-radius: 16px;
  padding: 18px 20px;
}

.access-log h2 {
  font-family: Outfit, sans-serif;
  font-size: 22px;
  margin: 0 0 14px;
  color: var(--wf-ink);
}

.access-log-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.access-log-stats div {
  background: var(--wf-paper);
  border-radius: 12px;
  padding: 12px 14px;
}

.access-log-stats span {
  display: block;
  font-size: 13px;
  color: var(--wf-muted);
  font-weight: 600;
}

.access-log-stats strong {
  font-family: Outfit, sans-serif;
  font-size: 26px;
  color: var(--wf-green);
}

.access-log-empty {
  margin: 0;
  color: var(--wf-muted);
}

.access-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.access-log-list li {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--wf-line);
  font-size: 15px;
}

.access-log-name { font-weight: 700; }
.access-log-when { color: var(--wf-muted); text-transform: capitalize; }
.access-log-time { font-weight: 700; color: var(--wf-ink); }
.access-log-live {
  color: #fff;
  background: var(--wf-mint);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
}

.auth-page {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 16px 10px;
  overflow: auto;
  background: transparent;
}

.auth-panel {
  width: 100%;
  max-width: 420px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
  padding: 12px 24px 10px;
}

.auth-panel-wide {
  max-width: 640px;
}

.btn-social {
  display: block;
  width: 100%;
  border: 1px solid var(--wf-line);
  background: #fff;
  color: var(--wf-ink);
  border-radius: 12px;
  padding: 8px 14px;
  font-weight: 600;
  margin-bottom: 6px;
  cursor: pointer;
}

.btn-social:hover { background: var(--wf-paper); }

.btn-google { border-left: 4px solid #ea4335; }
.btn-microsoft { border-left: 4px solid #00a4ef; }

.auth-logo {
  display: none;
}

.auth-panel h1 {
  font-family: Outfit, sans-serif;
  color: var(--wf-ink);
  font-size: 22px;
  margin: 0 0 4px;
  text-align: center;
}

.auth-panel > .text-muted,
.auth-panel > p.text-muted {
  text-align: center;
  font-size: 13px;
  margin: 0 0 10px;
}

.auth-panel p.text-center {
  margin: 0 0 8px;
  font-size: 13px;
}

.auth-panel .mb-3 {
  margin-bottom: 0.4rem !important;
}

.auth-panel .form-label {
  margin-bottom: 4px;
  font-size: 13px;
}

.auth-panel .form-control {
  padding: 7px 12px;
}

.auth-panel .form-check {
  min-height: 0;
}

.auth-panel .btn-suite {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 24px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin: 8px 0 0;
}

.auth-links a {
  color: var(--wf-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.auth-links a:hover {
  color: var(--wf-red);
}

.auth-error {
  position: sticky;
  top: 12px;
  z-index: 2;
  margin: 0 0 16px;
}

.btn-suite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wf-red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  min-height: 48px;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.22);
  transition: transform 0.2s var(--wf-ease), background 0.2s ease, box-shadow 0.2s ease;
}

.btn-suite--lg {
  padding: 0 28px;
  min-width: 148px;
  font-size: 1.02rem;
}

.btn-suite:hover {
  background: #c40512;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(227, 6, 19, 0.26);
}

.form-control {
  border-radius: 10px;
}

.form-control:focus {
  border-color: var(--wf-red);
  box-shadow: 0 0 0 0.2rem rgba(227, 6, 19, 0.18);
}

.placeholder-note {
  background: var(--wf-card);
  border-left: 4px solid var(--wf-red);
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 14px;
}

.sugg-table-wrap {
  background: var(--wf-card);
  border: 1px solid var(--wf-line);
  border-radius: 12px;
  padding: 4px 8px 8px;
}

.sugg-table th {
  color: var(--wf-muted);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.sugg-table td {
  vertical-align: top;
  font-size: 14px;
}

.sugg-chi {
  white-space: nowrap;
  color: var(--wf-forest);
  font-weight: 600;
}

.sugg-testo {
  white-space: pre-wrap;
  word-break: break-word;
}

/* —— Marketing stats / Formazione —— */
.mkt-page {
  animation: mktIn 0.55s var(--wf-ease) both;
}

@keyframes mktIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.mkt-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
}

.mkt-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--wf-ink);
  font-family: Outfit, sans-serif;
  font-weight: 650;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--wf-line);
  background: rgba(255, 255, 255, 0.88);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.mkt-subnav a i { font-size: 12px; opacity: 0.85; }

.mkt-subnav a:hover {
  transform: translateY(-1px);
}

.mkt-subnav__home {
  color: var(--wf-muted) !important;
  border-style: dashed !important;
}

.mkt-subnav a.mkt-tab--lab:hover,
.mkt-subnav a.mkt-tab--lab.active {
  border-color: #1A4A8A;
  color: #1A4A8A;
  background: #e8eef8;
}

.mkt-subnav a.mkt-tab--studio:hover,
.mkt-subnav a.mkt-tab--studio.active {
  border-color: #1e8a4c;
  color: #1e8a4c;
  background: #e8f8ef;
}

.mkt-subnav a.mkt-tab--shop:hover,
.mkt-subnav a.mkt-tab--shop.active {
  border-color: #b8860b;
  color: #8a6d00;
  background: #fff6d6;
}

.mkt-subnav a.mkt-tab--learn:hover,
.mkt-subnav a.mkt-tab--learn.active {
  border-color: var(--wf-red);
  color: var(--wf-red);
  background: #fde8ea;
}

.mkt-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px 18px;
  align-items: center;
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--wf-line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.mkt-page--lab .mkt-hero {
  border-color: #c5d4ea;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(26, 74, 138, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.78);
}

.mkt-page--studio .mkt-hero {
  border-color: #bfe8cf;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(30, 138, 76, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.78);
}

.mkt-page--shop .mkt-hero {
  border-color: #f0d878;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(212, 160, 23, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.78);
}

.mkt-page--learn .mkt-hero {
  border-color: #f0c0c4;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(227, 6, 19, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.78);
}

.mkt-hero__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 8px 18px rgba(28, 43, 54, 0.12);
}

.mkt-page--lab .mkt-hero__icon { background: linear-gradient(145deg, #1A4A8A, #2f6fb8); }
.mkt-page--studio .mkt-hero__icon { background: linear-gradient(145deg, #1e8a4c, #2ecc71); }
.mkt-page--shop .mkt-hero__icon { background: linear-gradient(145deg, #b8860b, #e0b93a); color: #1c2b36; }
.mkt-page--learn .mkt-hero__icon { background: linear-gradient(145deg, #c40510, #e30613); }

.mkt-hero__copy .hub-kicker { margin-bottom: 4px; }
.mkt-page--lab .mkt-hero__copy .hub-kicker { color: #1A4A8A; }
.mkt-page--studio .mkt-hero__copy .hub-kicker { color: #1e8a4c; }
.mkt-page--shop .mkt-hero__copy .hub-kicker { color: #8a6d00; }
.mkt-page--learn .mkt-hero__copy .hub-kicker { color: var(--wf-red); }

.mkt-hero__copy h1 {
  font-family: Outfit, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--wf-ink);
  margin: 0 0 4px;
  line-height: 1.15;
}

.mkt-hero__copy p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 15px;
  line-height: 1.4;
  max-width: 42rem;
}

.mkt-hero__copy strong { color: var(--wf-ink); font-weight: 650; }

.mkt-stamp {
  justify-self: end;
  align-self: start;
  color: var(--wf-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wf-line);
  white-space: nowrap;
  text-transform: none;
  margin: 0;
}

.mkt-section {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--wf-line);
  border-radius: 20px;
  padding: 22px 24px 26px;
  margin-bottom: 22px;
  box-shadow: 0 10px 28px rgba(28, 43, 54, 0.05);
}

.mkt-section__head {
  margin-bottom: 16px;
}

.mkt-section h2 {
  font-family: Outfit, sans-serif;
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--wf-ink);
}

.mkt-section h3 {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  margin: 0 0 14px;
  color: var(--wf-ink);
}

.mkt-source {
  margin: 0;
  color: var(--wf-muted);
  font-size: 13px;
}

.mkt-error {
  background: #fde8e8;
  color: #b42318;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}

.mkt-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 18px;
  border-radius: 14px;
  border: 1.5px dashed var(--wf-line);
  background: rgba(243, 247, 244, 0.55);
  color: var(--wf-muted);
}

.mkt-empty i {
  font-size: 22px;
  opacity: 0.7;
}

.mkt-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  max-width: 36rem;
}

.mkt-page--lab .mkt-empty i { color: #1A4A8A; }
.mkt-page--studio .mkt-empty i { color: #1e8a4c; }
.mkt-page--shop .mkt-empty i { color: #8a6d00; }
.mkt-page--learn .mkt-empty i { color: var(--wf-red); }

.mkt-section--lab {
  border-color: #c5d4ea;
  background: linear-gradient(180deg, #f3f6fb 0%, #fff 38%);
}

.mkt-section--lab h2 { color: #1A4A8A; }

.mkt-section--studio {
  border-color: #bfe8cf;
  background: linear-gradient(180deg, #f0faf4 0%, #fff 38%);
}

.mkt-section--studio h2 { color: #1e8a4c; }

.mkt-section--dir {
  border-color: #f0d878;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 38%);
}

.mkt-section--dir h2 { color: #8a6d00; }

.mkt-section--learn {
  border-color: #f0c0c4;
  background: linear-gradient(180deg, #fff5f6 0%, #fff 38%);
}

.mkt-section--learn h2 { color: var(--wf-red); }

.mkt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mkt-kpi {
  position: relative;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  min-height: 108px;
  overflow: hidden;
  transition: transform 0.2s var(--wf-ease), box-shadow 0.2s var(--wf-ease);
}

.mkt-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--wf-line);
}

.mkt-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(28, 43, 54, 0.08);
}

.mkt-kpi span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--wf-muted);
  margin-bottom: 10px;
}

.mkt-kpi strong {
  font-family: Outfit, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--wf-ink);
  display: block;
  line-height: 1.05;
}

.mkt-kpi em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  color: var(--wf-muted);
  line-height: 1.35;
}

.mkt-kpi--lab { border-color: #d0dceb; }
.mkt-kpi--lab::before { background: #1A4A8A; }
.mkt-kpi--lab strong { color: #1A4A8A; }

.mkt-kpi--studio { border-color: #c8e9d4; }
.mkt-kpi--studio::before { background: #1e8a4c; }
.mkt-kpi--studio strong { color: #1e8a4c; }

.mkt-kpi--shop { border-color: #efe0a8; }
.mkt-kpi--shop::before { background: #d4a017; }
.mkt-kpi--shop strong { color: #8a6d00; }

.mkt-chart {
  margin-top: 22px;
  padding: 16px 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(215, 229, 220, 0.9);
}

.mkt-bars { display: flex; flex-direction: column; gap: 8px; }

.mkt-bar-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.mkt-bar-label { font-weight: 700; color: var(--wf-ink); }
.mkt-bar-track {
  display: block;
  height: 12px;
  background: #e8eef3;
  border-radius: 999px;
  overflow: hidden;
}
.mkt-bar-track span {
  display: block;
  height: 100%;
  background: #2ecc71;
  border-radius: 999px;
}

.mkt-cols {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 180px;
  padding: 4px 2px 0;
}

.mkt-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 180px;
  text-align: center;
}

.mkt-col-fill {
  width: 100%;
  max-width: 40px;
  background: linear-gradient(180deg, #2f6fb8 0%, #1A4A8A 100%);
  border-radius: 10px 10px 4px 4px;
  margin-top: auto;
  transition: height 0.35s var(--wf-ease);
}

.mkt-col-fill.is-empty {
  background: #d5e0ea;
}

.mkt-cols--orange .mkt-col-fill {
  background: linear-gradient(180deg, #ffb347 0%, #ff9800 100%);
}

.mkt-col strong {
  font-family: Outfit, sans-serif;
  font-size: 14px;
  margin-top: 8px;
  color: var(--wf-ink);
}

.mkt-col span {
  font-size: 11px;
  color: var(--wf-muted);
  text-transform: capitalize;
}

.formazione-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formazione-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid #f0c0c4;
  background: #fff;
  color: var(--wf-ink);
  transition: transform 0.2s var(--wf-ease), box-shadow 0.2s var(--wf-ease), border-color 0.2s ease;
}

.formazione-card:hover {
  transform: translateY(-2px);
  border-color: var(--wf-red);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.1);
  color: var(--wf-ink);
}

.formazione-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #c40510, #e30613);
  color: #fff;
  font-size: 15px;
}

.formazione-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.formazione-card__body strong {
  font-family: Outfit, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.formazione-card__body em {
  font-style: normal;
  font-size: 12px;
  color: var(--wf-muted);
}

.formazione-card__go {
  color: var(--wf-red);
  opacity: 0.75;
  font-size: 14px;
}

.formazione-card:hover .formazione-card__go { opacity: 1; }

@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 220px 1fr; }
}

@media (max-width: 1100px) {
  .mkt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mkt-hero {
    grid-template-columns: auto 1fr;
  }
  .mkt-stamp {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .mkt-grid, .mkt-cols { grid-template-columns: 1fr 1fr; }
  .mkt-bar-row { grid-template-columns: 1fr; }
  .hub-mkt-icons { margin-left: 0; }
  .mkt-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mkt-hero__copy h1 { font-size: 24px; }
  .mkt-kpi strong { font-size: 26px; }
}

.suite-footer {
  background: var(--dark-bg);
  color: #fff;
  padding: 8px 0 7px;
  margin-top: auto;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  flex-shrink: 0;
  width: 100%;
}

/* Hub autenticato: footer compatto così su laptop bassi resta spazio al contenuto */
body.shell-app .suite-footer {
  padding: 6px 12px;
  font-size: 10px;
  line-height: 1.3;
}

body.shell-app .suite-footer .container {
  max-width: none;
}

body.shell-app .suite-footer h3 {
  display: none;
}

body.shell-app .suite-footer p:not(.suite-footer-legal):not(.suite-footer-copy) {
  display: none;
}

body.shell-app .suite-footer-legal {
  margin: 0 !important;
  font-size: 10px;
}

body.shell-app .suite-footer-copy {
  margin-top: 2px !important;
  font-size: 10px;
}

@media (max-height: 780px) {
  body.shell-app .suite-footer-copy {
    display: none;
  }
  body.shell-app .app-main {
    padding: 12px 16px 20px;
  }
  body.shell-app .hub-welcome--rich {
    margin-bottom: 8px;
  }
}

@media (max-width: 960px) {
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .app-nav {
    border-right: none;
    border-bottom: 1px solid rgba(213, 232, 220, 0.85);
    padding: 8px 10px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .app-nav-label {
    display: none;
  }

  .app-nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    width: max-content;
    min-width: 100%;
  }

  .app-nav li {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .app-nav a,
  .app-nav .nav-assistente-btn {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  body.shell-app {
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .app-shell {
    min-height: 0;
    overflow: visible;
  }

  .app-main {
    overflow: visible;
    padding-bottom: 28px;
  }
}

.suite-footer h3 {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  margin: 0 0 2px;
}

.suite-footer p {
  margin: 0 0 2px;
  color: #e8eef4;
}

.suite-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.suite-footer a:hover {
  text-decoration: underline;
}

.suite-footer-sep {
  margin: 0 8px;
  opacity: 0.55;
}

.suite-footer-copy {
  margin-top: 3px !important;
  font-size: 11px;
  opacity: 0.85;
}

.suite-footer-legal {
  margin: 4px 0 0 !important;
  font-size: 11px;
}

.legal-page {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 16px 28px;
}

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
  padding: 28px 32px 32px;
  color: var(--wf-ink);
  font-size: 15px;
  line-height: 1.55;
}

.legal-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wf-green);
}

.legal-doc h1 {
  font-family: Outfit, sans-serif;
  font-size: 28px;
  margin: 0 0 8px;
}

.legal-updated {
  color: var(--wf-muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 22px;
  padding: 12px 0;
  border-top: 1px solid var(--wf-line);
  border-bottom: 1px solid var(--wf-line);
}

.legal-toc a {
  color: var(--wf-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}

.legal-toc a:hover { color: var(--wf-red); }

.legal-doc h2 {
  font-family: Outfit, sans-serif;
  font-size: 19px;
  margin: 22px 0 8px;
  scroll-margin-top: 12px;
}

.legal-doc h3 {
  font-size: 16px;
  margin: 14px 0 6px;
}

.legal-doc p, .legal-doc ul {
  margin: 0 0 10px;
}

.legal-doc ul {
  padding-left: 1.2rem;
}

.legal-doc a {
  color: var(--wf-green);
  font-weight: 600;
}

.legal-close {
  margin-top: 22px !important;
  padding-top: 14px;
  border-top: 1px solid var(--wf-line);
}

@media (max-width: 640px) {
  .legal-doc { padding: 20px 16px 24px; }
  .legal-doc h1 { font-size: 22px; }
}

.hub-test-link {
  margin-top: 18px;
  font-size: 14px;
}

.ticket-prova-list {
  list-style: none;
  padding: 0;
  max-width: 560px;
}

.ticket-prova-list li {
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 8px;
}

.ticket-prova-list li.ok {
  background: #e8f6ee;
  color: #146c43;
}

.ticket-prova-list li.ko {
  background: #fde8e8;
  color: #b42318;
}

/* Assistente floating: vedi css/assistente-widget.css */
.app-nav button.nav-assistente-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
}
.app-nav button.nav-assistente-btn:hover,
.app-nav button.nav-assistente-btn:focus-visible {
  background: rgba(26, 122, 69, 0.1);
  outline: none;
}

/* —— Assistente page fallback —— */
.assistente-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  flex-wrap: wrap;
}
.assistente-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--wf-line);
  background: var(--wf-card);
  color: var(--wf-ink);
  font-weight: 650;
  text-decoration: none;
}
.assistente-tab.is-active {
  background: var(--wf-forest);
  border-color: var(--wf-forest);
  color: #fff;
}
.assistente-label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
}
.assistente-input,
.assistente-editor,
.assistente-file-pick select {
  width: 100%;
  border: 1px solid var(--wf-line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  padding: 0.7rem 0.85rem;
}
.assistente-chat-form .btn-suite { margin-top: 0.75rem; }
.assistente-answer {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--wf-line);
  background: var(--wf-card);
}
.assistente-answer--soft { background: #f7f3ea; }
.assistente-answer h2 {
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
}
.assistente-answer-body { line-height: 1.5; }
.assistente-sources {
  margin: 0.75rem 0 0;
  color: var(--wf-muted);
  font-size: 0.88rem;
}
.assistente-note {
  margin-top: 1rem;
  color: var(--wf-muted);
  font-size: 0.9rem;
}
.assistente-file-pick {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  max-width: 28rem;
}
.assistente-editor {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.45;
  min-height: 22rem;
}
.assistente-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
  align-items: center;
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .app-main { padding: 16px; }
  .header-datetime { display: none; }
  .access-log-list li { grid-template-columns: 1fr; gap: 4px; }
  .access-log-stats { grid-template-columns: 1fr; }
  .hub-status { grid-template-columns: 1fr 1fr; }
  .hub-header h1 { font-size: 26px; }
  .hub-msg-layout { grid-template-columns: 1fr; }
}

.hub-msg--home { margin-top: 18px; }
.hub-msg h2 {
  font-family: Outfit, sans-serif;
  font-size: 17px;
  color: #1e8a4c;
  margin: 0;
}
.hub-msg {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
  padding: 14px 18px 12px;
}
.hub-msg-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}
.hub-msg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(70vh, 640px);
  overflow: auto;
}
.hub-msg-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 10px 0;
  border-top: 1px solid #e6eeea;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.hub-msg-list a:hover { background: #f7fbf8; }
.hub-msg--thread { min-height: 280px; }
.hub-msg-list strong { font-size: 14px; }
.hub-msg-list span {
  grid-column: 1 / -1;
  color: #5d6b74;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-msg-list time { color: #7b8a84; font-size: 12px; }
.hub-msg-list em {
  grid-row: 1;
  grid-column: 2;
  min-width: 1.4em;
  padding: 0 6px;
  border-radius: 99px;
  background: #e30613;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  text-align: center;
}
.hub-msg-list .is-new strong { color: #143d28; }
.hub-msg-list .is-on a { background: #f3faf6; margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 12px; }
.hub-msg-filo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow: auto;
  margin-bottom: 12px;
}
.hub-bubble {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 16px;
}
.hub-bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.hub-bubble time { display: block; margin-top: 4px; font-size: 11px; opacity: .72; }
.hub-bubble--me { align-self: flex-end; background: #143d28; color: #fff; border-bottom-right-radius: 5px; }
.hub-bubble--them { align-self: flex-start; background: #f4f7f5; border: 1px solid #e1ebe6; border-bottom-left-radius: 5px; }
.hub-reply { display: flex; gap: 8px; align-items: flex-end; }
.hub-reply textarea {
  flex: 1;
  min-height: 72px;
  border: 1px solid #c9d7ce;
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
}
.hub-msg-errore {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdeceb;
  color: #8a2b24;
}
