/* FENICA DESIGN SYSTEM V59 */
:root{
  --fn-navy:#111a3a;
  --fn-navy-2:#17234d;
  --fn-blue:#4f63e8;
  --fn-purple:#7668ef;
  --fn-orange:#ff7139;
  --fn-text:#18213a;
  --fn-muted:#667085;
  --fn-bg:#f6f8fc;
  --fn-surface:#ffffff;
  --fn-border:#e5e9f2;
  --fn-shadow:0 22px 70px rgba(22,34,72,.09);
  --fn-radius:24px;
  --fn-radius-sm:16px;
  --fn-max:1180px;
}

html{scroll-behavior:smooth}

body{
  background:var(--fn-bg);
  color:var(--fn-text);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.container{
  width:min(var(--fn-max),calc(100% - 40px));
  margin-inline:auto;
}

.section-pad{
  padding:96px 0;
}

section{
  position:relative;
}

h1,h2,h3{
  color:var(--fn-navy);
  letter-spacing:-.035em;
}

h1{
  font-size:clamp(44px,6vw,76px);
  line-height:.98;
  font-weight:850;
}

h2{
  font-size:clamp(34px,4.5vw,56px);
  line-height:1.04;
  font-weight:820;
}

h3{
  font-size:21px;
  line-height:1.2;
}

p{
  color:var(--fn-muted);
  line-height:1.72;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  padding:7px 13px;
  border:1px solid #dce2fb;
  border-radius:999px;
  background:#f0f2ff;
  color:#5961d9;
  font-size:12px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

/* HERO + PRODUCT SYSTEM */
.hero,
.seo-hero{
  background:
    radial-gradient(circle at 82% 12%,rgba(118,104,239,.16),transparent 32%),
    radial-gradient(circle at 12% 82%,rgba(79,99,232,.10),transparent 30%),
    linear-gradient(180deg,#fff 0%,#f7f8ff 100%);
}

.hero-copy,
.seo-hero .container{
  position:relative;
  z-index:2;
}

.hero p,
.seo-hero p{
  max-width:760px;
  font-size:18px;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:34px;
}

.feature-grid article{
  padding:26px;
  background:var(--fn-surface);
  border:1px solid var(--fn-border);
  border-radius:var(--fn-radius-sm);
  box-shadow:0 12px 36px rgba(22,34,72,.055);
}

.feature-grid article h3{
  margin:0 0 9px;
}

.feature-grid article p{
  margin:0;
  font-size:15px;
}

.fenica-manifesto{
  overflow:hidden;
  background:var(--fn-navy);
}

.fenica-manifesto:before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  right:-180px;
  top:-220px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(118,104,239,.36),transparent 68%);
}

.fenica-manifesto .container{
  position:relative;
  max-width:940px;
}

.fenica-manifesto h2,
.fenica-manifesto strong{
  color:#fff;
}

.fenica-manifesto p{
  color:#cbd3ed;
  font-size:17px;
}

.fenica-inbox,
.fenica-compose,
.fenica-receptionist,
.fenica-channel-ops,
.fenica-housekeeping-real,
.fenica-pbx{
  background:#fff;
}

.fenica-inbox .container,
.fenica-compose .container,
.fenica-receptionist .container,
.fenica-channel-ops .container,
.fenica-housekeeping-real .container,
.fenica-pbx .container{
  padding:clamp(30px,5vw,58px);
  border:1px solid var(--fn-border);
  border-radius:var(--fn-radius);
  box-shadow:var(--fn-shadow);
}

.btn,
.button,
a.btn,
a.button{
  border-radius:12px;
  font-weight:750;
  transition:transform .2s ease,box-shadow .2s ease;
}

.btn:hover,
.button:hover,
a.btn:hover,
a.button:hover{
  transform:translateY(-2px);
}

/* HEADER + FOOTER */
.site-header{
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid rgba(224,228,239,.9);
}

.site-header .brand-logo{
  height:38px;
}

.site-header nav>a,
.site-header summary{
  font-weight:650;
  color:#343d59;
}

.site-header nav>a:hover,
.site-header summary:hover{
  color:var(--fn-blue);
}

.footer{
  padding-top:62px;
  padding-bottom:40px;
  background:var(--fn-navy)!important;
  color:#d7dcef;
}

.footer p,
.footer a{
  color:#b9c2df;
}

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

.footer-legal{
  color:#919dbf;
  border-top:1px solid rgba(255,255,255,.1);
}

@media(max-width:900px){
  .section-pad{padding:72px 0}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:640px){
  .container{width:min(100% - 28px,var(--fn-max))}
  .section-pad{padding:58px 0}
  h1{font-size:clamp(38px,12vw,54px)}
  h2{font-size:clamp(30px,9vw,42px)}
  .feature-grid{grid-template-columns:1fr}
  .fenica-inbox .container,
  .fenica-compose .container,
  .fenica-receptionist .container,
  .fenica-channel-ops .container,
  .fenica-housekeeping-real .container,
  .fenica-pbx .container{
    padding:26px 20px;
    border-radius:18px;
  }
}

/* V59.1 MOBILE + DARK CONTRAST */
.voice h1,.voice h2,.voice h3,.coexistence h1,.coexistence h2,.coexistence h3{color:#fff!important}.voice p,.coexistence p{color:#cbd3e6!important}.fenica-manifesto .eyebrow,.voice .eyebrow,.coexistence .eyebrow{color:#5961d9!important;background:#f2f3ff!important}@media(max-width:640px){h1{font-size:42px!important;line-height:1.04!important;letter-spacing:-.035em!important}h2{font-size:34px!important;line-height:1.08!important}.hero h1{font-size:46px!important}.fenica-manifesto h2{font-size:40px!important}.section-pad{padding:50px 0!important}.hero p,.seo-hero p{font-size:17px!important;line-height:1.65!important}.fenica-manifesto p{font-size:16px!important;line-height:1.65!important}}

/* V60 MOBILE STRUCTURE FIX */
html,body{max-width:100%;overflow-x:hidden!important}@media(max-width:640px){.container{width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important}.hero .container,.hero-grid,.hero-copy,.seo-hero .container,.workflow .container,.housekeeping-web .container{min-width:0!important;max-width:100%!important}.hero-grid{display:block!important}.hero-copy{width:100%!important}.hero h1{font-size:40px!important;line-height:1.04!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}.hero h2,.workflow h2,.voice h2,.coexistence h2,.fenica-manifesto h2{font-size:36px!important;line-height:1.08!important}.workflow h1,.workflow h2,.workflow h3,.voice h1,.voice h2,.voice h3,.coexistence h1,.coexistence h2,.coexistence h3{color:#fff!important}.workflow p,.voice p,.coexistence p{color:#cbd3e6!important}.housekeeping-web h1,.housekeeping-web h2{font-size:36px!important;line-height:1.08!important;max-width:100%!important}.section-pad{overflow:hidden}}

/* V61 MOBILE PREMIUM RESET */
@media (max-width:700px){

  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .section-pad{
    padding:58px 0!important;
  }

  .section-pad > .container,
  .hero > .container,
  .seo-hero > .container{
    width:auto!important;
    max-width:none!important;
    margin-left:22px!important;
    margin-right:22px!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }

  .hero-grid,
  .hero-copy,
  .seo-hero .container > *{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .hero h1{
    font-size:36px!important;
    line-height:1.06!important;
    letter-spacing:-.035em!important;
    margin:26px 0 20px!important;
    max-width:100%!important;
  }

  .hero-copy > p,
  .hero p{
    font-size:17px!important;
    line-height:1.58!important;
    max-width:100%!important;
  }

  .hero .eyebrow{
    width:auto!important;
    max-width:100%!important;
    font-size:11px!important;
    line-height:1.45!important;
    padding:9px 13px!important;
    white-space:normal!important;
  }

  .hero a,
  .hero button{
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  h2{
    font-size:32px!important;
    line-height:1.09!important;
  }

  .fenica-manifesto h2{
    font-size:34px!important;
    line-height:1.08!important;
  }

  .fenica-manifesto .container,
  .workflow .container,
  .voice .container,
  .coexistence .container,
  .housekeeping-web .container{
    width:auto!important;
    max-width:none!important;
    margin-left:22px!important;
    margin-right:22px!important;
  }

  .workflow h1,.workflow h2,.workflow h3,
  .voice h1,.voice h2,.voice h3,
  .coexistence h1,.coexistence h2,.coexistence h3{
    color:#fff!important;
  }
}

/* V63 GLOBAL MOBILE GUTTERS */
@media (max-width:700px){

  body{
    overflow-x:hidden!important;
  }

  main > section{
    padding-left:24px!important;
    padding-right:24px!important;
    box-sizing:border-box!important;
  }

  main > section > .container,
  main > section .container,
  .container,
  .hero-grid,
  .hero-copy,
  .seo-hero .container,
  .workflow .container,
  .voice .container,
  .coexistence .container,
  .pms .container,
  .housekeeping-web .container,
  .multi-hotel .container,
  .roi .container,
  .pricing .container,
  .fenica-manifesto .container,
  .fenica-inbox .container,
  .fenica-compose .container,
  .fenica-receptionist .container,
  .fenica-channel-ops .container,
  .fenica-housekeeping-real .container,
  .fenica-pbx .container{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }

  .hero,
  .seo-hero{
    padding-left:24px!important;
    padding-right:24px!important;
  }

  .hero h1,
  .hero p,
  .seo-hero h1,
  .seo-hero p,
  h1,h2,h3,p{
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  .feature-grid,
  .cards,
  .grid,
  .hero-actions,
  .hero-trust{
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

/* V64 HOMEPAGE MOBILE GUTTER DEFINITIVO */
@media (max-width:700px){

  main#top > section{
    padding-left:0!important;
    padding-right:0!important;
    overflow:hidden!important;
  }

  main#top > section > *{
    width:calc(100% - 48px)!important;
    max-width:calc(100% - 48px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  main#top > section > .container,
  main#top > section > .hero-grid,
  main#top > section > .voice-grid,
  main#top > section > .workflow-grid,
  main#top > section > .pms-grid,
  main#top > section > .housekeeping-grid,
  main#top > section > .multi-hotel-grid,
  main#top > section > .roi-grid,
  main#top > section > .pricing-grid{
    width:calc(100% - 48px)!important;
    max-width:calc(100% - 48px)!important;
    margin-inline:auto!important;
  }

  main#top .container{
    box-sizing:border-box!important;
  }

  main#top img,
  main#top video,
  main#top audio,
  main#top canvas{
    max-width:100%!important;
  }
}

/* V65 GLOBAL MOBILE GUTTERS - ALL PAGES */
@media (max-width:700px){

  main > section{
    padding-left:0!important;
    padding-right:0!important;
    overflow:hidden!important;
  }

  main > section > *{
    width:calc(100% - 48px)!important;
    max-width:calc(100% - 48px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  main > section > .container,
  main > section > .hero-grid,
  main > section > .voice-grid,
  main > section > .workflow-grid,
  main > section > .pms-grid,
  main > section > .housekeeping-grid,
  main > section > .multi-hotel-grid,
  main > section > .roi-grid,
  main > section > .pricing-grid{
    width:calc(100% - 48px)!important;
    max-width:calc(100% - 48px)!important;
    margin-inline:auto!important;
    box-sizing:border-box!important;
  }

  main .container{
    box-sizing:border-box!important;
  }

  main img,
  main video,
  main audio,
  main canvas{
    max-width:100%!important;
  }
}

/* V66 DEFINITIVE MOBILE SPACING — ALL PAGES */
@media (max-width:700px){

  *,*::before,*::after{
    box-sizing:border-box;
  }

  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
  }

  /* CONTENITORE STANDARD DI OGNI SEZIONE */
  main section > .container,
  main section > .hero-grid,
  main section > .voice-grid,
  main section > .workflow-grid,
  main section > .pms-grid,
  main section > .housekeeping-grid,
  main section > .multi-hotel-grid,
  main section > .roi-grid,
  main section > .pricing-grid{
    width:calc(100% - 48px)!important;
    max-width:calc(100% - 48px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* CARD/SEZIONI AGGIUNTE V58: MARGINE ESTERNO + PADDING INTERNO */
  .fenica-inbox > .container,
  .fenica-compose > .container,
  .fenica-receptionist > .container,
  .fenica-channel-ops > .container,
  .fenica-housekeeping-real > .container,
  .fenica-pbx > .container{
    width:calc(100% - 48px)!important;
    max-width:calc(100% - 48px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:24px!important;
  }

  /* SEZIONI STORICHE DEL SITO */
  .hero > .container,
  .seo-hero > .container,
  .voice > .container,
  .coexistence > .container,
  .pms > .container,
  .workflow > .container,
  .housekeeping-web > .container,
  .multi-hotel > .container,
  .roi > .container,
  .pricing > .container,
  .integrations-bar > .container,
  .fenica-manifesto > .container{
    width:calc(100% - 48px)!important;
    max-width:calc(100% - 48px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* NESSUN TESTO PUÒ USCIRE DAL PROPRIO CONTENITORE */
  main h1,
  main h2,
  main h3,
  main h4,
  main p,
  main ul,
  main ol{
    max-width:100%!important;
    overflow-wrap:break-word;
  }

  /* GRIGLIE E CARD */
  main .feature-grid,
  main .cards,
  main .grid{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  main .feature-grid article,
  main .cards > *,
  main .grid > *{
    width:100%!important;
    max-width:100%!important;
    padding:22px!important;
  }

  /* TESTO NEI BLOCCHI SCURI */
  .voice h1,.voice h2,.voice h3,
  .workflow h1,.workflow h2,.workflow h3,
  .coexistence h1,.coexistence h2,.coexistence h3,
  .fenica-manifesto h1,.fenica-manifesto h2,.fenica-manifesto h3{
    color:#fff!important;
  }

  .voice p,
  .workflow p,
  .coexistence p,
  .fenica-manifesto p{
    color:#cbd3e6!important;
  }

  /* MEDIA SEMPRE DENTRO IL CONTENITORE */
  main img,
  main video,
  main audio,
  main canvas,
  main iframe{
    max-width:100%!important;
  }
}

/* V70 DEFINITIVE GLOBAL PAGE GUTTERS */
@media (max-width:932px){

  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  /* QUALSIASI SEZIONE, QUALSIASI PAGINA */
  main > section{
    box-sizing:border-box!important;
    padding-left:24px!important;
    padding-right:24px!important;
  }

  /* QUALSIASI WRAPPER DIRETTO DENTRO LA SEZIONE */
  main > section > *{
    width:100%!important;
    max-width:1180px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  /* TUTTI I CONTAINER INTERNI */
  main > section .container,
  main > section .hero-grid,
  main > section .voice-grid,
  main > section .workflow-grid,
  main > section .pms-grid,
  main > section .housekeeping-grid,
  main > section .multi-hotel-grid,
  main > section .roi-grid,
  main > section .pricing-grid{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  /* CARD CREATE DA V58: SPAZIO ANCHE ALL'INTERNO */
  .fenica-inbox > .container,
  .fenica-compose > .container,
  .fenica-receptionist > .container,
  .fenica-channel-ops > .container,
  .fenica-housekeeping-real > .container,
  .fenica-pbx > .container{
    padding:24px!important;
  }

  /* NESSUN TESTO O ELEMENTO PUO' USCIRE */
  main h1,
  main h2,
  main h3,
  main h4,
  main p,
  main ul,
  main ol,
  main .feature-grid,
  main article,
  main img,
  main video,
  main audio,
  main canvas,
  main iframe{
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* PAGINE LEGALI */
  .legal-shell{
    padding-left:24px!important;
    padding-right:24px!important;
  }
}

/* IPHONE / TELEFONO IN ORIZZONTALE */
@media (max-width:932px) and (orientation:landscape){

  main > section{
    padding-left:32px!important;
    padding-right:32px!important;
  }

  .legal-shell{
    padding-left:32px!important;
    padding-right:32px!important;
  }

  .fenica-inbox > .container,
  .fenica-compose > .container,
  .fenica-receptionist > .container,
  .fenica-channel-ops > .container,
  .fenica-housekeeping-real > .container,
  .fenica-pbx > .container{
    padding:28px!important;
  }
}

/* V71 PORTRAIT REAL GUTTERS — LANDSCAPE UNCHANGED */
@media (max-width:700px) and (orientation:portrait){

  main > section{
    padding-left:0!important;
    padding-right:0!important;
    overflow:hidden!important;
  }

  /* margine REALE di 28px su ogni contenuto principale */
  main > section > *{
    width:auto!important;
    max-width:none!important;
    margin-left:28px!important;
    margin-right:28px!important;
    box-sizing:border-box!important;
  }

  /* container diretti */
  main > section > .container,
  main > section > .hero-grid,
  main > section > .voice-grid,
  main > section > .workflow-grid,
  main > section > .pms-grid,
  main > section > .housekeeping-grid,
  main > section > .multi-hotel-grid,
  main > section > .roi-grid,
  main > section > .pricing-grid{
    width:auto!important;
    max-width:none!important;
    margin-left:28px!important;
    margin-right:28px!important;
  }

  /* le card V58 mantengono anche padding INTERNO */
  .fenica-inbox > .container,
  .fenica-compose > .container,
  .fenica-receptionist > .container,
  .fenica-channel-ops > .container,
  .fenica-housekeeping-real > .container,
  .fenica-pbx > .container{
    width:auto!important;
    margin-left:28px!important;
    margin-right:28px!important;
    padding:24px!important;
  }

  /* griglie interne non aggiungono nuovi margini */
  main .feature-grid,
  main .cards,
  main .grid{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* testi sempre contenuti */
  main h1,
  main h2,
  main h3,
  main h4,
  main p,
  main ul,
  main ol{
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* pagine legali */
  .legal-shell{
    padding-left:28px!important;
    padding-right:28px!important;
  }
}

/* V72 GLOBAL MOBILE TYPOGRAPHY — ALL PAGES */
@media (max-width:700px) and (orientation:portrait){

  /* H1: stessa scala ovunque */
  main h1,
  .hero h1,
  .seo-hero h1,
  .hero-copy h1,
  .section-pad h1{
    font-size:40px!important;
    line-height:1.04!important;
    letter-spacing:-.035em!important;
    max-width:100%!important;
    margin-top:18px!important;
    margin-bottom:22px!important;
  }

  /* H2 */
  main h2,
  .section-pad h2,
  .voice h2,
  .workflow h2,
  .pms h2,
  .coexistence h2,
  .fenica-manifesto h2,
  .fenica-inbox h2,
  .fenica-compose h2,
  .fenica-receptionist h2,
  .fenica-channel-ops h2,
  .fenica-housekeeping-real h2,
  .fenica-pbx h2{
    font-size:32px!important;
    line-height:1.08!important;
    letter-spacing:-.025em!important;
  }

  /* H3 */
  main h3,
  .section-pad h3{
    font-size:23px!important;
    line-height:1.15!important;
    letter-spacing:-.018em!important;
  }

  /* Testo */
  main p,
  main li,
  .hero p,
  .seo-hero p,
  .section-pad p{
    font-size:17px!important;
    line-height:1.58!important;
  }

  /* Eyebrow */
  main .eyebrow,
  .hero .eyebrow,
  .seo-hero .eyebrow{
    font-size:11px!important;
    line-height:1.35!important;
    letter-spacing:.11em!important;
    padding:9px 13px!important;
  }

  /* CTA: niente testo sproporzionato */
  main .btn,
  main .button,
  main a.btn,
  main a.button{
    font-size:17px!important;
    line-height:1.2!important;
  }

  /* Hero più equilibrati */
  .hero,
  .seo-hero{
    padding-top:54px!important;
    padding-bottom:58px!important;
  }
}

/* telefoni particolarmente stretti */
@media (max-width:390px) and (orientation:portrait){
  main h1,
  .hero h1,
  .seo-hero h1,
  .hero-copy h1,
  .section-pad h1{
    font-size:37px!important;
  }

  main h2,
  .section-pad h2{
    font-size:30px!important;
  }
}

/* V73 SEO HERO ALIGNMENT FIX */
@media (max-width:700px) and (orientation:portrait){

  .seo-hero{
    padding-left:0!important;
    padding-right:0!important;
  }

  .seo-hero > .seo-hero-copy{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin-left:28px!important;
    margin-right:28px!important;
    padding-left:0!important;
    padding-right:0!important;
    transform:none!important;
    translate:none!important;
    box-sizing:border-box!important;
  }

  .seo-hero-copy > *{
    width:auto!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  .seo-hero-copy .hero-actions{
    width:100%!important;
  }

  .seo-hero-copy .hero-actions .btn{
    width:100%!important;
    max-width:100%!important;
  }
}

/* stessa centratura anche in landscape */
@media (max-width:932px) and (orientation:landscape){

  .seo-hero > .seo-hero-copy{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:760px!important;
    margin-left:32px!important;
    margin-right:32px!important;
    padding-left:0!important;
    padding-right:0!important;
    transform:none!important;
    translate:none!important;
    box-sizing:border-box!important;
  }
}

/* FENICA COMPOSE DEMO V75 */
.compose-demo-section{background:linear-gradient(180deg,#f7f8fc 0%,#fff 100%)}
.compose-demo-head{max-width:820px;margin-bottom:38px}
.compose-demo-grid{display:grid;grid-template-columns:minmax(0,.9fr) 54px minmax(0,1.1fr);align-items:center;gap:20px}
.compose-mail-card,.compose-draft-card{background:#fff;border:1px solid #e3e7f0;border-radius:22px;box-shadow:0 22px 60px rgba(22,34,72,.09);overflow:hidden}
.compose-mail-top,.compose-draft-top{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #edf0f5}
.compose-mail-top{justify-content:flex-start;gap:13px}
.compose-mail-top div{display:flex;flex-direction:column;gap:2px}
.compose-mail-top small{color:#8a93a5}
.compose-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eef1ff;color:#5961d9;font-size:13px;font-weight:800}
.compose-mail-body,.compose-draft-body{padding:24px}
.compose-mail-body p,.compose-draft-body p{margin:0 0 16px}
.compose-oneclick{margin:0 22px 22px;padding:14px 16px;border-radius:13px;background:#141d40;color:#fff;display:flex;justify-content:center;align-items:center;gap:9px}
.compose-arrow{text-align:center;font-size:34px;color:#7580a2;font-weight:300}
.compose-draft-top>div{display:flex;align-items:center;gap:9px}
.compose-ai-dot{width:10px;height:10px;border-radius:50%;background:#6f67ec;box-shadow:0 0 0 5px #efefff}
.compose-ready{padding:6px 10px;border-radius:999px;background:#eaf8ef;color:#24804a;font-size:12px;font-weight:800}
.compose-quote{display:flex;flex-direction:column;gap:7px;margin:20px 0;padding:18px;border:1px solid #dfe4f4;border-radius:15px;background:#f8f9ff}
.compose-quote span{color:#625fe0;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.compose-quote strong{color:#171e3d}
.compose-quote small{color:#798299;line-height:1.45}
.compose-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 22px;border-top:1px solid #edf0f5;background:#fbfcfe}
.compose-actions button{border-radius:11px;padding:11px 16px;font:inherit;font-weight:750;cursor:default}
.compose-edit{background:#fff;border:1px solid #d9deea;color:#35405e}
.compose-send{border:0;background:#5d60df;color:#fff}
.compose-demo-flow{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:34px;color:#4f5871;font-size:14px;font-weight:700}
.compose-demo-flow span{padding:9px 12px;border:1px solid #e1e5ef;border-radius:999px;background:#fff}
.compose-demo-flow b{color:#8992a8}
.compose-demo-note{text-align:center!important;max-width:820px!important;margin:22px auto 0!important;font-size:13px!important;color:#8a93a5!important}

@media(max-width:800px){
  .compose-demo-grid{grid-template-columns:1fr}
  .compose-arrow{transform:rotate(90deg);line-height:1}
  .compose-actions{flex-direction:column}
  .compose-actions button{width:100%}
}

@media(max-width:700px) and (orientation:portrait){
  .compose-demo-section>.container{width:auto!important;max-width:none!important;margin-left:28px!important;margin-right:28px!important}
  .compose-mail-body,.compose-draft-body{padding:20px}
  .compose-mail-top,.compose-draft-top{padding:18px}
  .compose-oneclick{margin:0 18px 18px}
}

/* COMPOSE INTERACTIVE V76 */
.compose-oneclick{
  width:calc(100% - 44px);
  border:0;
  cursor:pointer;
  font:inherit;
  transition:transform .2s ease,background .2s ease,opacity .2s ease
}
.compose-oneclick:hover{transform:translateY(-2px)}
.compose-oneclick:disabled{cursor:wait;opacity:.82}

.compose-demo-interactive .compose-draft-card{
  opacity:.28;
  transform:translateY(10px);
  transition:opacity .4s ease,transform .4s ease,box-shadow .4s ease
}
.compose-demo-interactive .compose-draft-card.is-started{
  opacity:1;
  transform:none
}
.compose-demo-interactive .compose-draft-body>*{
  opacity:0;
  transform:translateY(9px);
  filter:blur(3px);
  transition:opacity .4s ease,transform .4s ease,filter .4s ease
}
.compose-demo-interactive .compose-draft-body>*.is-visible{
  opacity:1;
  transform:none;
  filter:none
}
.compose-demo-interactive .compose-actions{
  opacity:0;
  transform:translateY(6px);
  pointer-events:none;
  transition:opacity .35s ease,transform .35s ease
}
.compose-demo-interactive .compose-actions.is-visible{
  opacity:1;
  transform:none;
  pointer-events:auto
}
.compose-demo-interactive .compose-draft-card.is-ready{
  box-shadow:0 24px 70px rgba(83,91,220,.16)
}
.compose-demo-interactive .compose-draft-card.is-ready .compose-ready{
  animation:composeReadyPulse .55s ease
}
@keyframes composeReadyPulse{
  50%{transform:scale(1.08)}
}
@media(prefers-reduced-motion:reduce){
  .compose-demo-interactive *{animation:none!important;transition:none!important}
}
/* EMAIL INBOX PRODUCT V78 */
.email-inbox-product{background:#f7f8fc}
.email-inbox-head{max-width:820px;margin-bottom:34px}
.email-inbox-ui{display:grid;grid-template-columns:320px minmax(0,1fr);background:#fff;border:1px solid #e3e7f0;border-radius:22px;overflow:hidden;box-shadow:0 22px 60px rgba(22,34,72,.08)}
.email-inbox-list{background:#f8f9fc;border-right:1px solid #e7eaf1;padding:18px}
.email-inbox-list-title{font-weight:800;color:#18213a;margin-bottom:14px}
.email-inbox-item{display:flex;gap:11px;align-items:flex-start;padding:15px;border-radius:14px;margin-bottom:8px}
.email-inbox-item.is-active{background:#fff;border:1px solid #e3e7f0;box-shadow:0 7px 20px rgba(22,34,72,.05)}
.email-inbox-item div{display:flex;flex-direction:column;gap:3px}
.email-inbox-item strong{font-size:14px;color:#18213a}
.email-inbox-item span{font-size:13px;color:#7c8599}
.email-status-dot{width:8px;height:8px;border-radius:50%;background:#6972e7;margin-top:5px;flex:0 0 auto}
.email-inbox-message{padding:26px}
.email-message-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:20px;border-bottom:1px solid #edf0f5}
.email-message-header>div{display:flex;flex-direction:column;gap:4px}
.email-message-header strong{font-size:19px}
.email-message-header span{color:#7e8799}
.email-ai-badge{padding:7px 10px;border-radius:999px;background:#eef0ff;color:#5f64da!important;font-size:12px;font-weight:800;white-space:nowrap}
.email-message-body{padding:22px 0}
.email-message-body p{margin:0 0 14px}
.email-ai-analysis{padding:18px;border-radius:16px;background:#f7f8ff;border:1px solid #e1e4f6}
.email-ai-analysis-title{font-weight:800;color:#202848;margin-bottom:12px}
.email-ai-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.email-ai-tags span{padding:7px 9px;border-radius:999px;background:#fff;border:1px solid #dfe3ef;font-size:12px;font-weight:700;color:#4d5670}
.email-ai-analysis p{margin:0!important;font-size:14px!important;color:#6f7890}
.email-compose-cta{display:inline-flex;margin-top:18px;padding:13px 16px;border-radius:12px;background:#161f43;color:#fff!important;text-decoration:none;font-weight:800}

@media(max-width:800px){
  .email-inbox-ui{grid-template-columns:1fr}
  .email-inbox-list{border-right:0;border-bottom:1px solid #e7eaf1}
}

@media(max-width:700px) and (orientation:portrait){
  .email-inbox-product>.container{width:auto!important;margin-left:28px!important;margin-right:28px!important}
  .email-inbox-message{padding:20px}
  .email-message-header{flex-direction:column}
  .email-compose-cta{display:flex;justify-content:center;width:100%}
}


/* ==========================================================
   A11Y V83 — contrasto + gerarchia semantica
   ========================================================== */

/* CTA: bianco su arancio conforme WCAG AA */
.btn-primary,
.nav-cta{
  background:#c2410c;
  color:#fff;
}

/* Testo secondario del player più leggibile */
.real-call-transcript-header span{
  color:#475467;
}

/* Timestamp del player */
.real-call-line header time{
  color:#475467;
}

/* Titolo puramente visuale del mockup, non heading semantico */
.fenica-demo-title{
  margin:0;
  font-size:26px;
  font-weight:700;
  line-height:1.2;
}

@media(max-width:720px){
  .fenica-demo-title{
    font-size:24px;
  }
}



/* ==========================================================
   A11Y V84 — contrasto desktop mockup Fenica
   Mobile invariato
   ========================================================== */

@media (min-width:721px){

  /* LIVE */
  .fenica-app-topbar b{
    color:#166534;
  }

  /* Conversazioni / Telefonia / Operazioni / Ospiti */
  .fenica-mini-cards span{
    color:#475467;
  }

  /* Flusso automatico dimostrativo */
  .fenica-chat-header > div > span{
    color:#475467;
  }

  /* WhatsApp · AI */
  .chat-channel-pill{
    color:#166534 !important;
  }

  /* Stato: Fenica è pronta / Risposta inviata */
  .fenica-chat-status{
    color:#475467;
  }

}

